From: Adam Dickmeiss Date: Tue, 10 Aug 2010 10:29:21 +0000 (+0200) Subject: Revert recursive mutex patch X-Git-Tag: v4.0.12~5 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=96296b63bd2f5e471b05736910f7bb13984ea77e;hp=96296b63bd2f5e471b05736910f7bb13984ea77e;p=yaz-moved-to-github.git Revert recursive mutex patch We don't need recursive mutexes. Interestingly, PTHREAD_MUTEX_NORMAL and PTHREAD_MUTEX_RECURSIVE from man page pthread_mutexattr_settype are not defined in header pthread.h by default on my Ubuntu Linux (possibly others). Some defines may do trigger a definition of it, but what impact do they have then on other pthread-implementations? It crashed on FreeBSD - it could be fixed by using PTHREAD_MUTEX_NORMAL (rather than 0) for pthread_settype (normal mutex). ---