[Home]

Summary:ASTERISK-01785: #define of AST_MUTEX_KIND in lock.h needs diffferent #ifdef
Reporter:rich (rich)Labels:
Date Opened:2004-06-09 08:41:45Date Closed:2008-01-15 14:57:45.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) lock.h.dif.txt
Description:I made a mistake, which Mark noticed in an earlier patch, and double checked it.  He had noticed that PTHREAD_MUTEX_RECURSIVE_NP is an enum constant rather than a preprocessor symbol.

This patch refines the #ifdef that determines AST_MUTEX_KIND  to depend on PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP which is a preprocessor symbol.
Comments:By: Mark Spencer (markster) 2004-06-09 08:46:39

Fixed in CVS

By: Digium Subversion (svnbot) 2008-01-15 14:57:45.000-0600

Repository: asterisk
Revision: 3179

U   trunk/include/asterisk/lock.h

------------------------------------------------------------------------
r3179 | markster | 2008-01-15 14:57:45 -0600 (Tue, 15 Jan 2008) | 2 lines

Lock fixes for FreeBSD (bug ASTERISK-1785)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=3179