httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sas...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/include apr.h.in
Date Tue, 02 May 2000 03:01:03 GMT
sascha      00/05/01 20:01:03

  Modified:    src/lib/apr acconfig.h configure.in
               src/lib/apr/include apr.h.in
  Log:
  Substitute sigthreadmask for pthread_sigmask, if necessary.
  
  Note that the behaviour of sigprocmask in a multi-threaded program is
  undefined. The AIX 4.3 documentation explicitly says "The
  sigprocmask, sigsetmask, and sigblock subroutines must not be used in
  a multi-threaded application."
  
  This change allows us to build the Dexter and mpmt_pthread MPM on AIX.
  
  Revision  Changes    Path
  1.26      +0 -4      apache-2.0/src/lib/apr/acconfig.h
  
  Index: acconfig.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/acconfig.h,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -u -r1.25 -r1.26
  --- acconfig.h	2000/04/22 06:16:11	1.25
  +++ acconfig.h	2000/05/02 03:01:02	1.26
  @@ -56,10 +56,6 @@
   /* Make sure we have ssize_t defined to be somethine */
   #undef ssize_t
   
  -#if !defined(HAVE_PTHREAD_SIGMASK) && defined(_AIX)
  -#define pthread_sigmask sigprocmask
  -#endif
  -
   #if !defined(HAVE_STRCASECMP) && defined(HAVE_STRICMP)
   #define strcasecmp(s1,s2) stricmp(s1,s2)
   #endif
  
  
  
  1.83      +1 -0      apache-2.0/src/lib/apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/configure.in,v
  retrieving revision 1.82
  retrieving revision 1.83
  diff -u -u -r1.82 -r1.83
  --- configure.in	2000/05/01 21:22:44	1.82
  +++ configure.in	2000/05/02 03:01:02	1.83
  @@ -126,6 +126,7 @@
   dnl #----------------------------- Checks for Any required Functions
   dnl Checks for library functions.
   AC_CHECK_FUNCS(pthread_sigmask)
  +AC_CHECK_FUNCS(sigthreadmask)
   AC_CHECK_FUNCS(strcasecmp stricmp poll setsid)
   AC_CHECK_FUNCS(sigaction, [ have_sigaction="1" ], [ have_sigaction="0" ]) 
   AC_CHECK_FUNCS(writev)
  
  
  
  1.21      +5 -0      apache-2.0/src/lib/apr/include/apr.h.in
  
  Index: apr.h.in
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr.h.in,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -u -r1.20 -r1.21
  --- apr.h.in	2000/05/01 21:22:45	1.20
  +++ apr.h.in	2000/05/02 03:01:02	1.21
  @@ -117,4 +117,9 @@
   #define ap_signal(a,b) signal(a,b)
   #endif
   
  +#if !defined(HAVE_PTHREAD_SIGMASK) && defined(HAVE_SIGTHREADMASK)
  +#define pthread_sigmask sigthreadmask
  +#define HAVE_PTHREAD_SIGMASK 1
  +#endif
  +
   #endif /* APR_H */
  
  
  

Mime
View raw message