wrowe 01/07/26 22:37:13
Modified: include apr_thread_proc.h
Log:
Nasty... OS2 needs checking out, still having trouble with Win32.
This doesn't hold us up, since win32 didn't use the threading library.
Revision Changes Path
1.67 +6 -2 apr/include/apr_thread_proc.h
Index: apr_thread_proc.h
===================================================================
RCS file: /home/cvs/apr/include/apr_thread_proc.h,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- apr_thread_proc.h 2001/07/24 05:16:32 1.66
+++ apr_thread_proc.h 2001/07/27 05:37:13 1.67
@@ -585,8 +585,10 @@
APR_DECLARE(void) apr_pool_note_subprocess(apr_pool_t *a, apr_proc_t *pid,
enum kill_conditions how);
-#if APR_HAS_THREADS && !defined(OS2) && APR_HAVE_SIGWAIT
+#if APR_HAS_THREADS
+#if !defined(OS2) && APR_HAVE_SIGWAIT
+
/**
* Setup the process for a single thread to be used for all signal handling.
* @warn This must be called before any threads are created
@@ -603,10 +605,12 @@
*/
APR_DECLARE(apr_status_t) apr_signal_thread(int(*signal_handler)(int
signum));
+#endif /* !defined(OS2) && APR_HAVE_SIGWAIT */
+
/**
* Get the child-pool used by the thread from the thread info.
* @return apr_pool_t the pool
- * @deffunc apr_pool_t apr_thread_info_pool_get(apr_thread_info_t *i)
+ * @deffunc apr_pool_t apr_thread_pool_get(apr_thread_t *i)
*/
APR_POOL_DECLARE_ACCESSOR(thread);