blob: 729fec4db455e7a87a96d9d8cb87b41acdb90f2c [file] [log] [blame]
---Thread-Announcement------------------------------------------
Thread #x was created
...
by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (locked_vs_unlocked3.c:53)
---Thread-Announcement------------------------------------------
Thread #x was created
...
by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (locked_vs_unlocked3.c:54)
----------------------------------------------------------------
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (locked_vs_unlocked3.c:51)
Possible data race during write of size 4 at 0x........ by thread #x
Locks held: none
at 0x........: child_fn2 (locked_vs_unlocked3.c:38)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
This conflicts with a previous write of size 4 by thread #x
Locks held: 1, at address 0x........
at 0x........: child_fn1 (locked_vs_unlocked3.c:28)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...