apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@clove.org>
Subject [PATCH] initialize the proc mutex routines
Date Mon, 01 Oct 2001 21:07:49 GMT
This patch sets us up to call the initialization routines for the unix
proc_mutex routines when APR is initialized.

(this should get us up to speed on fcntl and sysv proc_mutex types)

-aaron


Index: misc/unix/start.c
===================================================================
RCS file: /home/cvspublic/apr/misc/unix/start.c,v
retrieving revision 1.53
diff -u -r1.53 start.c
--- misc/unix/start.c	2001/08/31 06:07:34	1.53
+++ misc/unix/start.c	2001/10/01 21:00:39
@@ -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