apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr/locks/unix proc_mutex.c
Date Thu, 21 Nov 2002 15:59:36 GMT
trawick     2002/11/21 07:59:36

  Modified:    locks/unix proc_mutex.c
  Log:
  get apr_proc_mutex_destroy() out from under
  
    #if APR_HAS_POSIXSEM_SERIALIZE
  
  Revision  Changes    Path
  1.23      +6 -6      apr/locks/unix/proc_mutex.c
  
  Index: proc_mutex.c
  ===================================================================
  RCS file: /home/cvs/apr/locks/unix/proc_mutex.c,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- proc_mutex.c	21 Nov 2002 15:05:47 -0000	1.22
  +++ proc_mutex.c	21 Nov 2002 15:59:35 -0000	1.23
  @@ -57,17 +57,17 @@
   #include "proc_mutex.h"
   #include "fileio.h" /* for apr_mkstemp() */
   
  -#if APR_HAS_POSIXSEM_SERIALIZE
  -
  -#ifndef SEM_FAILED
  -#define SEM_FAILED (-1)
  -#endif
  -
   APR_DECLARE(apr_status_t) apr_proc_mutex_destroy(apr_proc_mutex_t *mutex)
   {
       return apr_pool_cleanup_run(mutex->pool, mutex, apr_proc_mutex_cleanup);
   }
   
  +
  +#if APR_HAS_POSIXSEM_SERIALIZE
  +
  +#ifndef SEM_FAILED
  +#define SEM_FAILED (-1)
  +#endif
   
   static void proc_mutex_posix_setup(void)
   {
  
  
  

Mime
View raw message