Changeset 658:f198d16fa7f4 in freeDiameter for extensions/dbg_monitor/dbg_monitor.c
- Timestamp:
- Jan 14, 2011, 3:15:23 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/dbg_monitor/dbg_monitor.c
r258 r658 78 78 79 79 /* Function called on receipt of MONITOR_SIGNAL */ 80 static void got_sig( int signal)80 static void got_sig() 81 81 { 82 82 fd_log_debug("[dbg_monitor] Dumping extra information\n"); … … 92 92 93 93 /* Catch signal SIGUSR1 */ 94 CHECK_FCT( fd_ sig_register(MONITOR_SIGNAL, "dbg_monitor", got_sig));94 CHECK_FCT( fd_event_trig_regcb(MONITOR_SIGNAL, "dbg_monitor", got_sig)); 95 95 96 96 CHECK_POSIX( pthread_create( &thr, NULL, mn_thr, NULL ) );
Note: See TracChangeset
for help on using the changeset viewer.