apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/locks/win32 thread_mutex.c
Date Tue, 27 Nov 2001 03:20:39 GMT
wrowe       01/11/26 19:20:39

  Modified:    locks/win32 thread_mutex.c
  Log:
    This one is serious - Win9x won't work till it's addressed.
  
  Revision  Changes    Path
  1.7       +1 -0      apr/locks/win32/thread_mutex.c
  
  Index: thread_mutex.c
  ===================================================================
  RCS file: /home/cvs/apr/locks/win32/thread_mutex.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- thread_mutex.c	2001/10/17 00:33:00	1.6
  +++ thread_mutex.c	2001/11/27 03:20:39	1.7
  @@ -92,6 +92,7 @@
   APR_DECLARE(apr_status_t) apr_thread_mutex_trylock(apr_thread_mutex_t *mutex)
   {
       BOOL status;
  +    /* XXX TryEnterCriticalSection is not available under Win9x */
       status = TryEnterCriticalSection(&mutex->section);
       if (status) {
           return APR_SUCCESS;
  
  
  

Mime
View raw message