"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "threadproc/unix/signals.c" between
apr-1.6.5.tar.bz2 and apr-1.7.0.tar.bz2

About: APR (Apache Portable Runtime) project offers software libraries that provide a predictable and consistent interface to underlying platform-specific implementations (APR core library).

signals.c  (apr-1.6.5.tar.bz2):signals.c  (apr-1.7.0.tar.bz2)
skipping to change at line 309 skipping to change at line 309
#ifdef SIGSYS #ifdef SIGSYS
sigdelset(sig_mask, SIGSYS); sigdelset(sig_mask, SIGSYS);
#endif #endif
#ifdef SIGTRAP #ifdef SIGTRAP
sigdelset(sig_mask, SIGTRAP); sigdelset(sig_mask, SIGTRAP);
#endif #endif
/* the rest of the signals removed from the mask in this function /* the rest of the signals removed from the mask in this function
* absolutely must be removed; you cannot block synchronous signals * absolutely must be removed; you cannot block synchronous signals
* (requirement of pthreads API) * (requirement of pthreads API)
*
* SIGUSR2 is being removed from the mask for the convenience of
* Purify users (Solaris, HP-UX, SGI) since Purify uses SIGUSR2
*/ */
#ifdef SIGUSR2
sigdelset(sig_mask, SIGUSR2);
#endif
} }
APR_DECLARE(apr_status_t) apr_signal_thread(int(*signal_handler)(int signum)) APR_DECLARE(apr_status_t) apr_signal_thread(int(*signal_handler)(int signum))
{ {
sigset_t sig_mask; sigset_t sig_mask;
#if APR_HAVE_SIGWAIT #if APR_HAVE_SIGWAIT
int (*sig_func)(int signum) = (int (*)(int))signal_handler; int (*sig_func)(int signum) = (int (*)(int))signal_handler;
#endif #endif
/* This thread will be the one responsible for handling signals */ /* This thread will be the one responsible for handling signals */
 End of changes. 2 change blocks. 
6 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)