httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bh...@gensym.com (Ben Hyde)
Subject [PATCH] Finish suite of mutex ops for non-threaded platforms.
Date Thu, 18 Dec 1997 14:15:37 GMT
Define the last of the suite of mutex operations so modules that are authored to
be multithreaded can avoid ifdef MULTITHREAD.  Triggers significant recompilation.

> cvs diff -u -b src/main/multithread.h
Index: src/main/multithread.h
===================================================================
RCS file: /cvs/apachen/src/main/multithread.h,v
retrieving revision 1.6
diff -u -b -r1.6 multithread.h
--- multithread.h	1997/09/16 00:41:33	1.6
+++ multithread.h	1997/12/18 20:05:14
@@ -50,6 +50,7 @@
 #define create_mutex(name)	((mutex *)dummy_mutex)
 #define acquire_mutex(mutex_id)	((int)MULTI_OK)
 #define release_mutex(mutex_id)	((int)MULTI_OK)
+#define destroy_mutex(mutex_id)	(0)
 
 #endif /* ndef MULTITHREAD */
 

Mime
View raw message