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 (annotate_rwlock.c:164)
      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 (annotate_rwlock.c:164)
     16 
     17 ----------------------------------------------------------------
     18 
     19 Possible data race during read of size 4 at 0x........ by thread #x
     20 Locks held: none
     21    at 0x........: rwlock_rdlock (annotate_rwlock.c:71)
     22    by 0x........: thread_func (annotate_rwlock.c:144)
     23    by 0x........: mythread_wrapper (hg_intercepts.c:...)
     24    ...
     25 
     26 This conflicts with a previous write of size 4 by thread #x
     27 Locks held: none
     28    at 0x........: rwlock_wrlock (annotate_rwlock.c:106)
     29    by 0x........: thread_func (annotate_rwlock.c:147)
     30    by 0x........: mythread_wrapper (hg_intercepts.c:...)
     31    ...
     32 
     33 ----------------------------------------------------------------
     34 
     35 Possible data race during read of size 4 at 0x........ by thread #x
     36 Locks held: none
     37    at 0x........: rwlock_rdlock (annotate_rwlock.c:81)
     38    by 0x........: thread_func (annotate_rwlock.c:144)
     39    by 0x........: mythread_wrapper (hg_intercepts.c:...)
     40    ...
     41 
     42 This conflicts with a previous write of size 4 by thread #x
     43 Locks held: none
     44    at 0x........: rwlock_rdlock (annotate_rwlock.c:81)
     45    by 0x........: thread_func (annotate_rwlock.c:144)
     46    by 0x........: mythread_wrapper (hg_intercepts.c:...)
     47    ...
     48 
     49 ----------------------------------------------------------------
     50 
     51 Possible data race during write of size 4 at 0x........ by thread #x
     52 Locks held: none
     53    at 0x........: rwlock_rdlock (annotate_rwlock.c:81)
     54    by 0x........: thread_func (annotate_rwlock.c:144)
     55    by 0x........: mythread_wrapper (hg_intercepts.c:...)
     56    ...
     57 
     58 This conflicts with a previous read of size 4 by thread #x
     59 Locks held: none
     60    at 0x........: rwlock_unlock (annotate_rwlock.c:131)
     61    by 0x........: thread_func (annotate_rwlock.c:149)
     62    by 0x........: mythread_wrapper (hg_intercepts.c:...)
     63    ...
     64 
     65 ----------------------------------------------------------------
     66 
     67 Possible data race during write of size 4 at 0x........ by thread #x
     68 Locks held: none
     69    at 0x........: rwlock_unlock (annotate_rwlock.c:121)
     70    by 0x........: thread_func (annotate_rwlock.c:146)
     71    by 0x........: mythread_wrapper (hg_intercepts.c:...)
     72    ...
     73 
     74 This conflicts with a previous read of size 4 by thread #x
     75 Locks held: none
     76    at 0x........: rwlock_unlock (annotate_rwlock.c:131)
     77    by 0x........: thread_func (annotate_rwlock.c:149)
     78    by 0x........: mythread_wrapper (hg_intercepts.c:...)
     79    ...
     80 
     81 ----------------------------------------------------------------
     82 
     83 Possible data race during write of size 4 at 0x........ by thread #x
     84 Locks held: none
     85    at 0x........: rwlock_wrlock (annotate_rwlock.c:106)
     86    by 0x........: thread_func (annotate_rwlock.c:147)
     87    by 0x........: mythread_wrapper (hg_intercepts.c:...)
     88    ...
     89 
     90 This conflicts with a previous read of size 4 by thread #x
     91 Locks held: none
     92    at 0x........: rwlock_unlock (annotate_rwlock.c:132)
     93    by 0x........: thread_func (annotate_rwlock.c:149)
     94    by 0x........: mythread_wrapper (hg_intercepts.c:...)
     95    ...
     96 
     97 ----------------------------------------------------------------
     98 
     99 Lock at 0x........ was first observed
    100    at 0x........: rwlock_init (annotate_rwlock.c:54)
    101    by 0x........: main (annotate_rwlock.c:161)
    102 
    103 Possible data race during write of size 4 at 0x........ by thread #x
    104 Locks held: 1, at address 0x........
    105    at 0x........: rwlock_unlock (annotate_rwlock.c:127)
    106    by 0x........: thread_func (annotate_rwlock.c:149)
    107    by 0x........: mythread_wrapper (hg_intercepts.c:...)
    108    ...
    109 
    110 This conflicts with a previous read of size 4 by thread #x
    111 Locks held: none
    112    at 0x........: rwlock_unlock (annotate_rwlock.c:132)
    113    by 0x........: thread_func (annotate_rwlock.c:149)
    114    by 0x........: mythread_wrapper (hg_intercepts.c:...)
    115    ...
    116 
    117 Finished.
    118