---Thread-Announcement------------------------------------------

Thread #x was created
   ...
   by 0x........: pthread_create_WRK (hg_intercepts.c:...)
   by 0x........: pthread_create@* (hg_intercepts.c:...)
   by 0x........: main (hg02_deadlock.c:36)

----------------------------------------------------------------

Thread #x: lock order "0x........ before 0x........" violated

Observed (incorrect) order is: acquisition of lock at 0x........
   at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
   by 0x........: t2 (hg02_deadlock.c:19)
   by 0x........: mythread_wrapper (hg_intercepts.c:...)
   ...

 followed by a later acquisition of lock at 0x........
   at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
   by 0x........: t2 (hg02_deadlock.c:20)
   by 0x........: mythread_wrapper (hg_intercepts.c:...)
   ...

Required order was established by acquisition of lock at 0x........
   at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
   by 0x........: t1 (hg02_deadlock.c:9)
   by 0x........: mythread_wrapper (hg_intercepts.c:...)
   ...

 followed by a later acquisition of lock at 0x........
   at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
   by 0x........: t1 (hg02_deadlock.c:10)
   by 0x........: mythread_wrapper (hg_intercepts.c:...)
   ...


ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)