Home | History | Annotate | Download | only in tests
      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_unlocked2.c:61)
      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_unlocked2.c:62)
     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_unlocked2.c:58)
     22 
     23 Lock at 0x........ was first observed
     24    at 0x........: pthread_mutex_init (hg_intercepts.c:...)
     25    by 0x........: main (locked_vs_unlocked2.c:59)
     26 
     27 Lock at 0x........ was first observed
     28    at 0x........: pthread_mutex_init (hg_intercepts.c:...)
     29    by 0x........: main (locked_vs_unlocked2.c:57)
     30 
     31 Possible data race during write of size 4 at 0x........ by thread #x
     32 Locks held: 2, at addresses 0x........ 0x........
     33    at 0x........: child_fn2 (locked_vs_unlocked2.c:45)
     34    by 0x........: mythread_wrapper (hg_intercepts.c:...)
     35    ...
     36 
     37 This conflicts with a previous write of size 4 by thread #x
     38 Locks held: 2, at address 0x........ (and 1 that can't be shown)
     39    at 0x........: child_fn1 (locked_vs_unlocked2.c:29)
     40    by 0x........: mythread_wrapper (hg_intercepts.c:...)
     41    ...
     42 
     43