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_proc_mutex_t
Date Wed, 26 Sep 2001 16:44:23 GMT
The last one, subject says it.

(This is patch 4 or 4)

-aaron


Index: include/apr_proc_mutex.h
===================================================================
RCS file: /home/cvspublic/apr/include/apr_proc_mutex.h,v
retrieving revision 1.1
diff -u -r1.1 apr_proc_mutex.h
--- include/apr_proc_mutex.h	2001/09/19 20:06:43	1.1
+++ include/apr_proc_mutex.h	2001/09/26 16:41:58
@@ -158,6 +158,12 @@
  */
 APR_DECLARE(apr_status_t) apr_proc_mutex_destroy(apr_proc_mutex_t *mutex);
 
+/**
+ * Get the pool used by this proc_mutex.
+ * @return apr_pool_t the pool
+ */
+APR_POOL_DECLARE_ACCESSOR(proc_mutex);
+
 #ifdef __cplusplus
 }
 #endif
Index: locks/beos/proc_mutex.c
===================================================================
RCS file: /home/cvspublic/apr/locks/beos/proc_mutex.c,v
retrieving revision 1.1
diff -u -r1.1 proc_mutex.c
--- locks/beos/proc_mutex.c	2001/09/19 20:06:43	1.1
+++ locks/beos/proc_mutex.c	2001/09/26 16:41:58
@@ -102,3 +102,5 @@
     return APR_ENOTIMPL;
 }
 
+APR_POOL_IMPLEMENT_ACCESSOR(proc_mutex)
+
Index: locks/netware/proc_mutex.c
===================================================================
RCS file: /home/cvspublic/apr/locks/netware/proc_mutex.c,v
retrieving revision 1.1
diff -u -r1.1 proc_mutex.c
--- locks/netware/proc_mutex.c	2001/09/19 20:06:43	1.1
+++ locks/netware/proc_mutex.c	2001/09/26 16:41:58
@@ -101,3 +101,5 @@
     return APR_ENOTIMPL;
 }
 
+APR_POOL_IMPLEMENT_ACCESSOR(proc_mutex)
+
Index: locks/os2/proc_mutex.c
===================================================================
RCS file: /home/cvspublic/apr/locks/os2/proc_mutex.c,v
retrieving revision 1.1
diff -u -r1.1 proc_mutex.c
--- locks/os2/proc_mutex.c	2001/09/19 20:06:44	1.1
+++ locks/os2/proc_mutex.c	2001/09/26 16:41:58
@@ -102,3 +102,5 @@
     return APR_ENOTIMPL;
 }
 
+APR_POOL_IMPLEMENT_ACCESSOR(proc_mutex)
+
Index: locks/unix/proc_mutex.c
===================================================================
RCS file: /home/cvspublic/apr/locks/unix/proc_mutex.c,v
retrieving revision 1.3
diff -u -r1.3 proc_mutex.c
--- locks/unix/proc_mutex.c	2001/09/24 05:41:57	1.3
+++ locks/unix/proc_mutex.c	2001/09/26 16:41:59
@@ -808,3 +808,5 @@
     return mutex->meth->destroy(mutex);
 }
 
+APR_POOL_IMPLEMENT_ACCESSOR(proc_mutex)
+
Index: locks/win32/proc_mutex.c
===================================================================
RCS file: /home/cvspublic/apr/locks/win32/proc_mutex.c,v
retrieving revision 1.1
diff -u -r1.1 proc_mutex.c
--- locks/win32/proc_mutex.c	2001/09/19 20:06:44	1.1
+++ locks/win32/proc_mutex.c	2001/09/26 16:41:59
@@ -101,3 +101,5 @@
     return APR_ENOTIMPL;
 }
 
+APR_POOL_IMPLEMENT_ACCESSOR(proc_mutex)
+

Mime
View raw message