apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr/threadproc/unix signals.c
Date Wed, 20 Mar 2002 21:47:55 GMT
trawick     02/03/20 13:47:55

  Modified:    threadproc/unix signals.c
  Log:
  add a comment distinguishing between SIGUSR2 and the synchronous
  signals which we absolutely must avoid blocking
  
  Revision  Changes    Path
  1.42      +8 -0      apr/threadproc/unix/signals.c
  
  Index: signals.c
  ===================================================================
  RCS file: /home/cvs/apr/threadproc/unix/signals.c,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- signals.c	20 Mar 2002 21:19:55 -0000	1.41
  +++ signals.c	20 Mar 2002 21:47:55 -0000	1.42
  @@ -301,6 +301,14 @@
   #ifdef SIGTRAP
       sigdelset(sig_mask, SIGTRAP);
   #endif
  +
  +/* the rest of the signals removed from the mask in this function
  + * absolutely must be removed; you cannot block synchronous signals
  + * (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
  
  
  

Mime
View raw message