Bug 824390 - DMD: Don't use PTHREAD_MUTEX_INITIALIZER for non-static mutexes. r=jlebar.

--HG--
extra : rebase_source : a8cdd5e3d3db05cbb78441477508c05168e67ecd
This commit is contained in:
Nicholas Nethercote 2012-12-23 17:35:23 -08:00
parent 97cf51bbe1
commit 650d95bc63

View File

@ -318,8 +318,9 @@ class MutexBase
public:
MutexBase()
: mMutex(PTHREAD_MUTEX_INITIALIZER)
{}
{
pthread_mutex_init(&mMutex, NULL);
}
void Lock()
{