summaryrefslogtreecommitdiff
path: root/include/apr_thread_proc.h
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2002-04-11 04:36:54 +0000
committerJeff Trawick <trawick@apache.org>2002-04-11 04:36:54 +0000
commitbe1c2c14163b7a5544ccec06b9ca1fbd65d26890 (patch)
tree921556a7f42b4031e16f3fc940ec63c540e8a094 /include/apr_thread_proc.h
parentb9ea917d532e998973b442c40d97dcac9f4c279c (diff)
downloadapr-be1c2c14163b7a5544ccec06b9ca1fbd65d26890.tar.gz
systems where sigsuspend() is used in lieu of sigwait() need
the declarations of apr_setup_signal_thread() and apr_signal_thread() too; this fixes some worker MPM warnings on Darwin git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63247 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_thread_proc.h')
-rw-r--r--include/apr_thread_proc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/apr_thread_proc.h b/include/apr_thread_proc.h
index a722756a4..27e09f596 100644
--- a/include/apr_thread_proc.h
+++ b/include/apr_thread_proc.h
@@ -652,7 +652,7 @@ APR_DECLARE(void) apr_pool_note_subprocess(apr_pool_t *a, apr_proc_t *pid,
#if APR_HAS_THREADS
-#if APR_HAVE_SIGWAIT && !defined(OS2)
+#if (APR_HAVE_SIGWAIT || APR_HAVE_SIGSUSPEND) && !defined(OS2)
/**
* Setup the process for a single thread to be used for all signal handling.
@@ -669,7 +669,7 @@ APR_DECLARE(apr_status_t) apr_setup_signal_thread(void);
*/
APR_DECLARE(apr_status_t) apr_signal_thread(int(*signal_handler)(int signum));
-#endif /* !defined(OS2) && APR_HAVE_SIGWAIT */
+#endif /* (APR_HAVE_SIGWAIT || APR_HAVE_SIGSUSPEND) && !defined(OS2) */
/**
* Get the child-pool used by the thread from the thread info.