Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 24229 invoked by uid 500); 29 Sep 2001 05:04:48 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 24192 invoked from network); 29 Sep 2001 05:04:48 -0000 Date: 29 Sep 2001 05:03:38 -0000 Message-ID: <20010929050338.88739.qmail@icarus.apache.org> From: rbb@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/locks/win32 proc_mutex.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N rbb 01/09/28 22:03:38 Modified: include apr_proc_mutex.h locks/beos proc_mutex.c locks/netware proc_mutex.c locks/os2 proc_mutex.c locks/unix proc_mutex.c locks/win32 proc_mutex.c Log: Implement pool accessor functions for proc mutex's Submitted by: Aaron Bannert Revision Changes Path 1.3 +6 -0 apr/include/apr_proc_mutex.h Index: apr_proc_mutex.h =================================================================== RCS file: /home/cvs/apr/include/apr_proc_mutex.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- apr_proc_mutex.h 2001/09/25 11:42:46 1.2 +++ apr_proc_mutex.h 2001/09/29 05:03:37 1.3 @@ -161,6 +161,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 1.2 +2 -0 apr/locks/beos/proc_mutex.c Index: proc_mutex.c =================================================================== RCS file: /home/cvs/apr/locks/beos/proc_mutex.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- proc_mutex.c 2001/09/19 20:06:43 1.1 +++ proc_mutex.c 2001/09/29 05:03:37 1.2 @@ -102,3 +102,5 @@ return APR_ENOTIMPL; } +APR_POOL_IMPLEMENT_ACCESSOR(proc_mutex) + 1.2 +2 -0 apr/locks/netware/proc_mutex.c Index: proc_mutex.c =================================================================== RCS file: /home/cvs/apr/locks/netware/proc_mutex.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- proc_mutex.c 2001/09/19 20:06:43 1.1 +++ proc_mutex.c 2001/09/29 05:03:37 1.2 @@ -101,3 +101,5 @@ return APR_ENOTIMPL; } +APR_POOL_IMPLEMENT_ACCESSOR(proc_mutex) + 1.3 +2 -0 apr/locks/os2/proc_mutex.c Index: proc_mutex.c =================================================================== RCS file: /home/cvs/apr/locks/os2/proc_mutex.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- proc_mutex.c 2001/09/25 11:42:46 1.2 +++ proc_mutex.c 2001/09/29 05:03:37 1.3 @@ -104,3 +104,5 @@ return APR_ENOTIMPL; } +APR_POOL_IMPLEMENT_ACCESSOR(proc_mutex) + 1.4 +2 -0 apr/locks/unix/proc_mutex.c Index: proc_mutex.c =================================================================== RCS file: /home/cvs/apr/locks/unix/proc_mutex.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- proc_mutex.c 2001/09/24 05:41:57 1.3 +++ proc_mutex.c 2001/09/29 05:03:37 1.4 @@ -808,3 +808,5 @@ return mutex->meth->destroy(mutex); } +APR_POOL_IMPLEMENT_ACCESSOR(proc_mutex) + 1.2 +2 -0 apr/locks/win32/proc_mutex.c Index: proc_mutex.c =================================================================== RCS file: /home/cvs/apr/locks/win32/proc_mutex.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- proc_mutex.c 2001/09/19 20:06:44 1.1 +++ proc_mutex.c 2001/09/29 05:03:37 1.2 @@ -101,3 +101,5 @@ return APR_ENOTIMPL; } +APR_POOL_IMPLEMENT_ACCESSOR(proc_mutex) +