apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: apr/locks/win32 thread_rwlock.c
Date Sat, 29 Sep 2001 05:04:44 GMT
rbb         01/09/28 22:04:44

  Modified:    include  apr_thread_rwlock.h
               locks/beos thread_rwlock.c
               locks/netware thread_rwlock.c
               locks/os2 thread_rwlock.c
               locks/unix thread_rwlock.c
               locks/win32 thread_rwlock.c
  Log:
  Implement pool accessor for rwlocks.
  Submitted by:	Aaron Bannert <aaron@clove.org>
  
  Revision  Changes    Path
  1.3       +6 -0      apr/include/apr_thread_rwlock.h
  
  Index: apr_thread_rwlock.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_thread_rwlock.h,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- apr_thread_rwlock.h	2001/09/16 21:11:11	1.2
  +++ apr_thread_rwlock.h	2001/09/29 05:04:44	1.3
  @@ -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
  
  
  
  1.2       +2 -0      apr/locks/beos/thread_rwlock.c
  
  Index: thread_rwlock.c
  ===================================================================
  RCS file: /home/cvs/apr/locks/beos/thread_rwlock.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- thread_rwlock.c	2001/09/08 23:36:34	1.1
  +++ thread_rwlock.c	2001/09/29 05:04:44	1.2
  @@ -96,3 +96,5 @@
       return APR_ENOTIMPL;
   }
   
  +APR_POOL_IMPLEMENT_ACCESSOR(thread_rwlock)
  +
  
  
  
  1.2       +2 -0      apr/locks/netware/thread_rwlock.c
  
  Index: thread_rwlock.c
  ===================================================================
  RCS file: /home/cvs/apr/locks/netware/thread_rwlock.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- thread_rwlock.c	2001/09/08 23:36:34	1.1
  +++ thread_rwlock.c	2001/09/29 05:04:44	1.2
  @@ -95,3 +95,5 @@
       return APR_ENOTIMPL;
   }
   
  +APR_POOL_IMPLEMENT_ACCESSOR(thread_rwlock)
  +
  
  
  
  1.3       +3 -0      apr/locks/os2/thread_rwlock.c
  
  Index: thread_rwlock.c
  ===================================================================
  RCS file: /home/cvs/apr/locks/os2/thread_rwlock.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- thread_rwlock.c	2001/09/15 03:27:32	1.2
  +++ thread_rwlock.c	2001/09/29 05:04:44	1.3
  @@ -233,3 +233,6 @@
   
       return APR_FROM_OS_ERROR(rc);
   }
  +
  +APR_POOL_IMPLEMENT_ACCESSOR(thread_rwlock)
  +
  
  
  
  1.3       +2 -0      apr/locks/unix/thread_rwlock.c
  
  Index: thread_rwlock.c
  ===================================================================
  RCS file: /home/cvs/apr/locks/unix/thread_rwlock.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- thread_rwlock.c	2001/09/14 15:39:38	1.2
  +++ thread_rwlock.c	2001/09/29 05:04:44	1.3
  @@ -235,6 +235,8 @@
       return APR_ENOTIMPL;
   }
   
  +APR_POOL_IMPLEMENT_ACCESSOR(thread_rwlock)
  +
   #endif /* HAVE_PTHREAD_RWLOCK_INIT */
   
   #endif /* APR_HAS_THREADS */
  
  
  
  1.4       +2 -0      apr/locks/win32/thread_rwlock.c
  
  Index: thread_rwlock.c
  ===================================================================
  RCS file: /home/cvs/apr/locks/win32/thread_rwlock.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- thread_rwlock.c	2001/09/15 05:25:42	1.3
  +++ thread_rwlock.c	2001/09/29 05:04:44	1.4
  @@ -130,3 +130,5 @@
       return apr_pool_cleanup_run(rwlock->pool, rwlock, thread_rwlock_cleanup);
   }
   
  +APR_POOL_IMPLEMENT_ACCESSOR(thread_rwlock)
  +
  
  
  

Mime
View raw message