diff options
author | sascha <sascha@13f79535-47bb-0310-9956-ffa450edef68> | 2000-05-02 03:01:02 +0000 |
---|---|---|
committer | sascha <sascha@13f79535-47bb-0310-9956-ffa450edef68> | 2000-05-02 03:01:02 +0000 |
commit | 7386568e234b98db36dbb94de74a40efb521e7f7 (patch) | |
tree | 9630d43a06f03be68c9dc96e156550b45fc54d15 /acconfig.h | |
parent | fd33b10446014c4da43276c5f17182c35ecdaa9c (diff) | |
download | libapr-7386568e234b98db36dbb94de74a40efb521e7f7.tar.gz |
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.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60012 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'acconfig.h')
-rw-r--r-- | acconfig.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/acconfig.h b/acconfig.h index 5ad3008c6..40abfb325 100644 --- a/acconfig.h +++ b/acconfig.h @@ -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 |