blob: 21c540c58049b79b6d4b132249664e60a463fb85 [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_unlocked1.c:34)
---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_unlocked1.c:29)
----------------------------------------------------------------
Lock at 0x........ was first observed
at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
by 0x........: child_fn (locked_vs_unlocked1.c:18)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
Possible data race during write of size 4 at 0x........ by thread #x
Locks held: none
at 0x........: child_fn (locked_vs_unlocked1.c:19)
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_fn (locked_vs_unlocked1.c:19)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...