[asterisk-commits] trunk r19973 - /trunk/include/asterisk/lock.h

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Apr 14 06:54:57 MST 2006


Author: rizzo
Date: Fri Apr 14 08:54:53 2006
New Revision: 19973

URL: http://svn.digium.com/view/asterisk?rev=19973&view=rev
Log:
temporarily revert the way mutex are initialized on BSD systems.
This fixes the compilation on OS/X (the change exposed a wrong
assumption on mutex types on OS/X), but still leaves open the
bugs in initializing mutex on bsd systems, which you will see
reported as 'locking failures' on certain operations.
I need to investigate the issue further, but the best thing
i can do now is leave things as they have been for months.


Modified:
    trunk/include/asterisk/lock.h

Modified: trunk/include/asterisk/lock.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/lock.h?rev=19973&r1=19972&r2=19973&view=diff
==============================================================================
--- trunk/include/asterisk/lock.h (original)
+++ trunk/include/asterisk/lock.h Fri Apr 14 08:54:53 2006
@@ -94,7 +94,7 @@
 #endif
 
 #ifdef BSD
-#if 0 && defined( __GNUC__)
+#if 1 && defined( __GNUC__)
 #define AST_MUTEX_INIT_W_CONSTRUCTORS
 #else
 #define AST_MUTEX_INIT_ON_FIRST_USE



More information about the asterisk-commits mailing list