1
2Recursive mutex (statically initialized).
3
4Recursive mutex (initialized via mutex attributes).
5
6Error checking mutex.
7second lock call failed !
8Mutex 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:?)
12mutex 0x........ was first observed at:
13   at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
14   by 0x........: main (recursive_mutex.c:?)
15
16second unlock call failed !
17
18Non-recursive mutex.
19second lock call failed !
20Mutex 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:?)
24mutex 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:?)
28
29
30Done.
31
32ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
33