2 Recursive mutex (statically initialized).
4 Recursive mutex (initialized via mutex attributes).
7 second lock call failed !
8 Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
9 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
10 by 0x........: lock_twice (recursive_mutex.c:?)
11 by 0x........: main (recursive_mutex.c:?)
12 mutex 0x........ was first observed at:
13 at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
14 by 0x........: main (recursive_mutex.c:?)
16 second unlock call failed !
19 second lock call failed !
20 Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
21 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
22 by 0x........: lock_twice (recursive_mutex.c:?)
23 by 0x........: main (recursive_mutex.c:?)
24 mutex 0x........ was first observed at:
25 at 0x........: pthread_mutex_trylock (drd_pthread_intercepts.c:?)
26 by 0x........: lock_twice (recursive_mutex.c:?)
27 by 0x........: main (recursive_mutex.c:?)
32 ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)