As the subject says.

This is patch 2 of 4.

-aaron


Index: include/apr_thread_rwlock.h
===================================================================
RCS file: /home/cvspublic/apr/include/apr_thread_rwlock.h,v
retrieving revision 1.2
diff -u -r1.2 apr_thread_rwlock.h
--- include/apr_thread_rwlock.h 2001/09/16 21:11:11     1.2
+++ include/apr_thread_rwlock.h 2001/09/26 16:33:57
@@ -140,6 +140,12 @@
  */
 APR_DECLARE(apr_status_t) apr_thread_rwlock_destroy(apr_thread_rwlock_t 
*rwlock);
 
+/**
+ * Get the pool used by this thread_rwlock.
+ * @return apr_pool_t the pool
+ */
+APR_POOL_DECLARE_ACCESSOR(thread_rwlock);
+
 #endif  /* APR_HAS_THREADS */
 
 #ifdef __cplusplus
Index: locks/beos/thread_rwlock.c
===================================================================
RCS file: /home/cvspublic/apr/locks/beos/thread_rwlock.c,v
retrieving revision 1.1
diff -u -r1.1 thread_rwlock.c
--- locks/beos/thread_rwlock.c  2001/09/08 23:36:34     1.1
+++ locks/beos/thread_rwlock.c  2001/09/26 16:33:58
@@ -96,3 +96,5 @@
     return APR_ENOTIMPL;
 }
 
+APR_POOL_IMPLEMENT_ACCESSOR(thread_rwlock)
+
Index: locks/netware/thread_rwlock.c
===================================================================
RCS file: /home/cvspublic/apr/locks/netware/thread_rwlock.c,v
retrieving revision 1.1
diff -u -r1.1 thread_rwlock.c
--- locks/netware/thread_rwlock.c       2001/09/08 23:36:34     1.1
+++ locks/netware/thread_rwlock.c       2001/09/26 16:33:58
@@ -95,3 +95,5 @@
     return APR_ENOTIMPL;
 }
 
+APR_POOL_IMPLEMENT_ACCESSOR(thread_rwlock)
+
Index: locks/os2/thread_rwlock.c
===================================================================
RCS file: /home/cvspublic/apr/locks/os2/thread_rwlock.c,v
retrieving revision 1.2
diff -u -r1.2 thread_rwlock.c
--- locks/os2/thread_rwlock.c   2001/09/15 03:27:32     1.2
+++ locks/os2/thread_rwlock.c   2001/09/26 16:33:58
@@ -233,3 +233,6 @@
 
     return APR_FROM_OS_ERROR(rc);
 }
+
+APR_POOL_IMPLEMENT_ACCESSOR(thread_rwlock)
+
Index: locks/unix/thread_rwlock.c
===================================================================
RCS file: /home/cvspublic/apr/locks/unix/thread_rwlock.c,v
retrieving revision 1.2
diff -u -r1.2 thread_rwlock.c
--- locks/unix/thread_rwlock.c  2001/09/14 15:39:38     1.2
+++ locks/unix/thread_rwlock.c  2001/09/26 16:33:58
@@ -235,6 +235,8 @@
     return APR_ENOTIMPL;
 }
 
+APR_POOL_IMPLEMENT_ACCESSOR(thread_rwlock)
+
 #endif /* HAVE_PTHREAD_RWLOCK_INIT */
 
 #endif /* APR_HAS_THREADS */
Index: locks/win32/thread_rwlock.c
===================================================================
RCS file: /home/cvspublic/apr/locks/win32/thread_rwlock.c,v
retrieving revision 1.3
diff -u -r1.3 thread_rwlock.c
--- locks/win32/thread_rwlock.c 2001/09/15 05:25:42     1.3
+++ locks/win32/thread_rwlock.c 2001/09/26 16:33:58
@@ -130,3 +130,5 @@
     return apr_pool_cleanup_run(rwlock->pool, rwlock, thread_rwlock_cleanup);
 }
 
+APR_POOL_IMPLEMENT_ACCESSOR(thread_rwlock)
+

Reply via email to