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, 15 Sep 2001 05:25:43 GMT
rbb         01/09/14 22:25:43

  Modified:    locks/win32 thread_rwlock.c
  Log:
  We have to decrement the writer count, or we will never be able
  to get a second writer
  
  Revision  Changes    Path
  1.3       +1 -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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- thread_rwlock.c	2001/09/15 00:58:38	1.2
  +++ thread_rwlock.c	2001/09/15 05:25:42	1.3
  @@ -112,6 +112,7 @@
   {
       if (rwlock->wrcounter) {
           /* If wrcounter is > 0, then we must have a writer lock */
  +        rwlock->wrcounter--;
           SetEvent(rwlock->mutex);
           ReleaseMutex(rwlock->writemutex);
       } 
  
  
  

Mime
View raw message