1 ---Thread-Announcement------------------------------------------ 2 3 Thread #x was created 4 ... 5 by 0x........: pthread_create_WRK (hg_intercepts.c:...) 6 by 0x........: pthread_create@* (hg_intercepts.c:...) 7 by 0x........: main (locked_vs_unlocked3.c:53) 8 9 ---Thread-Announcement------------------------------------------ 10 11 Thread #x was created 12 ... 13 by 0x........: pthread_create_WRK (hg_intercepts.c:...) 14 by 0x........: pthread_create@* (hg_intercepts.c:...) 15 by 0x........: main (locked_vs_unlocked3.c:54) 16 17 ---------------------------------------------------------------- 18 19 Lock at 0x........ was first observed 20 at 0x........: pthread_mutex_init (hg_intercepts.c:...) 21 by 0x........: main (locked_vs_unlocked3.c:51) 22 23 Possible data race during write of size 4 at 0x........ by thread #x 24 Locks held: none 25 at 0x........: child_fn2 (locked_vs_unlocked3.c:38) 26 by 0x........: mythread_wrapper (hg_intercepts.c:...) 27 ... 28 29 This conflicts with a previous write of size 4 by thread #x 30 Locks held: 1, at address 0x........ 31 at 0x........: child_fn1 (locked_vs_unlocked3.c:28) 32 by 0x........: mythread_wrapper (hg_intercepts.c:...) 33 ... 34 35