Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 45998 invoked by uid 500); 26 Sep 2001 16:44:19 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 45984 invoked from network); 26 Sep 2001 16:44:19 -0000 Date: Wed, 26 Sep 2001 09:44:23 -0700 From: Aaron Bannert To: dev@apr.apache.org Subject: [PATCH] pool accessors for apr_proc_mutex_t Message-ID: <20010926094423.I14683@clove.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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) +