[Home]

Summary:ASTERISK-07990: Selection of mutex type
Reporter:Markus Elfring (elfring)Labels:
Date Opened:2006-10-24 08:32:00Date Closed:2006-10-24 15:08:08
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Recursive mutexes are used by Asterisk everywhere. I would like to see the capability to use locks without the option "PTHREAD_MUTEX_RECURSIVE".
I guess that there are many places in the source code where the type "PTHREAD_MUTEX_DEFAULT" is more appropriate.

AST_MUTEX_KIND ...
http://svn.digium.com/view/asterisk/trunk/include/asterisk/lock.h?rev=43953&view=markup
Comments:By: Russell Bryant (russell) 2006-10-24 15:08:08

Feature requests are not accepted on the bug tracker.  If you would like to start a discussion on the mailing list about why having the option to use regular mutexes would be beneficial, that is fine.  Or, if you have a patch to do this, feel free to open a report.  Otherwise, this is not the appropriate place for this discussion.