apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr/misc/unix start.c
Date Mon, 08 Oct 2001 20:18:08 GMT
trawick     01/10/08 13:18:08

  Modified:    misc/unix start.c
  Log:
  This patch sets us up to call the initialization routines for the unix
  proc_mutex routines when APR is initialized.
  
  This will allow the new lock API to use fcntl and sysv proc_mutex types.
  
  Submitted by:	Aaron Bannert
  Reviewed by:	Jeff Trawick
  
  Revision  Changes    Path
  1.54      +2 -0      apr/misc/unix/start.c
  
  Index: start.c
  ===================================================================
  RCS file: /home/cvs/apr/misc/unix/start.c,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- start.c	2001/08/31 06:07:34	1.53
  +++ start.c	2001/10/08 20:18:08	1.54
  @@ -59,6 +59,7 @@
   
   #include "misc.h"       /* for WSAHighByte / WSALowByte */
   #include "locks.h"      /* for apr_unix_setup_lock() */
  +#include "proc_mutex.h" /* for apr_proc_mutex_unix_setup_lock() */
   #include "internal_time.h"
   
   
  @@ -84,6 +85,7 @@
   
   #if !defined(BEOS) && !defined(OS2) && !defined(WIN32) && !defined(NETWARE)
       apr_unix_setup_lock();
  +    apr_proc_mutex_unix_setup_lock();
       apr_unix_setup_time();
   #elif defined WIN32 || defined(NETWARE)
       iVersionRequested = MAKEWORD(WSAHighByte, WSALowByte);
  
  
  

Mime
View raw message