rbb 01/09/28 22:05:41
Modified: include apr_thread_cond.h
locks/beos thread_cond.c
locks/netware thread_cond.c
locks/os2 thread_cond.c
locks/unix thread_cond.c
locks/win32 thread_cond.c
Log:
Implement pool accessors for thread_condition variables.
Submitted by: Aaron Bannert <[EMAIL PROTECTED]>
Revision Changes Path
1.3 +6 -0 apr/include/apr_thread_cond.h
Index: apr_thread_cond.h
===================================================================
RCS file: /home/cvs/apr/include/apr_thread_cond.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- apr_thread_cond.h 2001/09/13 17:52:23 1.2
+++ apr_thread_cond.h 2001/09/29 05:05:41 1.3
@@ -130,6 +130,12 @@
*/
APR_DECLARE(apr_status_t) apr_thread_cond_destroy(apr_thread_cond_t *cond);
+/**
+ * Get the pool used by this thread_cond.
+ * @return apr_pool_t the pool
+ */
+APR_POOL_DECLARE_ACCESSOR(thread_cond);
+
#endif /* APR_HAS_THREADS */
#ifdef __cplusplus
1.2 +3 -0 apr/locks/beos/thread_cond.c
Index: thread_cond.c
===================================================================
RCS file: /home/cvs/apr/locks/beos/thread_cond.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- thread_cond.c 2001/09/13 01:04:23 1.1
+++ thread_cond.c 2001/09/29 05:05:41 1.2
@@ -88,3 +88,6 @@
{
return APR_ENOTIMPL;
}
+
+APR_POOL_IMPLEMENT_ACCESSOR(thread_cond)
+
1.2 +3 -0 apr/locks/netware/thread_cond.c
Index: thread_cond.c
===================================================================
RCS file: /home/cvs/apr/locks/netware/thread_cond.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- thread_cond.c 2001/09/13 01:04:23 1.1
+++ thread_cond.c 2001/09/29 05:05:41 1.2
@@ -86,3 +86,6 @@
{
return APR_ENOTIMPL;
}
+
+APR_POOL_IMPLEMENT_ACCESSOR(thread_cond)
+
1.2 +3 -0 apr/locks/os2/thread_cond.c
Index: thread_cond.c
===================================================================
RCS file: /home/cvs/apr/locks/os2/thread_cond.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- thread_cond.c 2001/09/13 01:04:23 1.1
+++ thread_cond.c 2001/09/29 05:05:41 1.2
@@ -87,3 +87,6 @@
{
return APR_ENOTIMPL;
}
+
+APR_POOL_IMPLEMENT_ACCESSOR(thread_cond)
+
1.3 +1 -0 apr/locks/unix/thread_cond.c
Index: thread_cond.c
===================================================================
RCS file: /home/cvs/apr/locks/unix/thread_cond.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- thread_cond.c 2001/09/13 12:12:50 1.2
+++ thread_cond.c 2001/09/29 05:05:41 1.3
@@ -160,5 +160,6 @@
return stat;
}
+APR_POOL_IMPLEMENT_ACCESSOR(thread_cond)
#endif /* APR_HAS_THREADS */
1.4 +3 -0 apr/locks/win32/thread_cond.c
Index: thread_cond.c
===================================================================
RCS file: /home/cvs/apr/locks/win32/thread_cond.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- thread_cond.c 2001/09/19 15:09:16 1.3
+++ thread_cond.c 2001/09/29 05:05:41 1.4
@@ -146,3 +146,6 @@
{
return apr_pool_cleanup_run(cond->pool, cond, thread_cond_cleanup);
}
+
+APR_POOL_IMPLEMENT_ACCESSOR(thread_cond)
+