Changeset 683:d59effdf5256 in freeDiameter for freeDiameterd/main.c
- Timestamp:
- Jan 18, 2011, 3:13:14 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
freeDiameterd/main.c
r662 r683 62 62 sigset_t sig_all; 63 63 64 /* Block all signals from the current thread and all its future children */64 /* Block all signals from the current thread and all its future children -- we will catch everything in catch_signals */ 65 65 sigfillset(&sig_all); 66 66 ret = pthread_sigmask(SIG_BLOCK, &sig_all, NULL); … … 270 270 sigaddset(&ss, SIGUSR2); 271 271 272 /* We unblock all other signals, so that their default handler is used (such as SIGTSTP) */ 273 CHECK_SYS_DO( pthread_sigmask( SIG_SETMASK, &ss, NULL ), goto out ); 274 272 275 /* Now loop on the reception of the signal */ 273 276 while (1) {
Note: See TracChangeset
for help on using the changeset viewer.