apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@clove.org>
Subject [PATCH] pool accessors for apr_thread_cond_t
Date Wed, 26 Sep 2001 16:40:15 GMT
Subject says it all.

This is patch 3 of 4.

-aaron


Index: include/apr_thread_cond.h
===================================================================
RCS file: /home/cvspublic/apr/include/apr_thread_cond.h,v
retrieving revision 1.2
diff -u -r1.2 apr_thread_cond.h
--- include/apr_thread_cond.h	2001/09/13 17:52:23	1.2
+++ include/apr_thread_cond.h	2001/09/26 16:38:02
@@ -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
Index: locks/beos/thread_cond.c
===================================================================
RCS file: /home/cvspublic/apr/locks/beos/thread_cond.c,v
retrieving revision 1.1
diff -u -r1.1 thread_cond.c
--- locks/beos/thread_cond.c	2001/09/13 01:04:23	1.1
+++ locks/beos/thread_cond.c	2001/09/26 16:38:02
@@ -88,3 +88,6 @@
 {
     return APR_ENOTIMPL;
 }
+
+APR_POOL_IMPLEMENT_ACCESSOR(thread_cond)
+
Index: locks/netware/thread_cond.c
===================================================================
RCS file: /home/cvspublic/apr/locks/netware/thread_cond.c,v
retrieving revision 1.1
diff -u -r1.1 thread_cond.c
--- locks/netware/thread_cond.c	2001/09/13 01:04:23	1.1
+++ locks/netware/thread_cond.c	2001/09/26 16:38:02
@@ -86,3 +86,6 @@
 {
     return APR_ENOTIMPL;
 }
+
+APR_POOL_IMPLEMENT_ACCESSOR(thread_cond)
+
Index: locks/os2/thread_cond.c
===================================================================
RCS file: /home/cvspublic/apr/locks/os2/thread_cond.c,v
retrieving revision 1.1
diff -u -r1.1 thread_cond.c
--- locks/os2/thread_cond.c	2001/09/13 01:04:23	1.1
+++ locks/os2/thread_cond.c	2001/09/26 16:38:02
@@ -87,3 +87,6 @@
 {
     return APR_ENOTIMPL;
 }
+
+APR_POOL_IMPLEMENT_ACCESSOR(thread_cond)
+
Index: locks/unix/thread_cond.c
===================================================================
RCS file: /home/cvspublic/apr/locks/unix/thread_cond.c,v
retrieving revision 1.2
diff -u -r1.2 thread_cond.c
--- locks/unix/thread_cond.c	2001/09/13 12:12:50	1.2
+++ locks/unix/thread_cond.c	2001/09/26 16:38:02
@@ -160,5 +160,6 @@
     return stat;
 }
 
+APR_POOL_IMPLEMENT_ACCESSOR(thread_cond)
 
 #endif /* APR_HAS_THREADS */
Index: locks/win32/thread_cond.c
===================================================================
RCS file: /home/cvspublic/apr/locks/win32/thread_cond.c,v
retrieving revision 1.3
diff -u -r1.3 thread_cond.c
--- locks/win32/thread_cond.c	2001/09/19 15:09:16	1.3
+++ locks/win32/thread_cond.c	2001/09/26 16:38:02
@@ -146,3 +146,6 @@
 {
     return apr_pool_cleanup_run(cond->pool, cond, thread_cond_cleanup);
 }
+
+APR_POOL_IMPLEMENT_ACCESSOR(thread_cond)
+

Mime
View raw message