One thing that confuses me... how does this even compile on Linux? If the pthread_mutexattr_settype function is available to the compiler/linker, why on earth would it not function properly? Definately need to do some research.
Also, if you have a simple test case that reproduces the deadlock it would be beneficial for you to send it to me for addition to the test harness.
Since then everything is working quite perfectly!
But I'd like to raise some questions: * Is my assumption correct that Linux doesn't have a proper support for recursive POSIX mutexes?
This is a really dumb question, but you did compile everything with -pthread didn't you? Without that it will compile and link - but only to a thread unsafe "stub" runtime. Or at least I think that's what happens :-( BTW don't the regression tests already test the recursive mutexes? (the tests are passing at the moment). John Maddock http://ourworld.compuserve.com/homepages/john_maddock/index.htm