Home | History | Annotate | Download | only in tests
      1 
      2 Establish order 1 -> 2
      3 Try order 2 -> 1.  This gives an error.
      4 Thread #x is the program's root thread
      5 
      6 Thread #x: lock order "0x........ before 0x........" violated
      7    at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
      8    by 0x........: main (tc15_laog_lockdel.c:36)
      9   Required order was established by acquisition of lock at 0x........
     10    at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
     11    by 0x........: main (tc15_laog_lockdel.c:27)
     12   followed by a later acquisition of lock at 0x........
     13    at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
     14    by 0x........: main (tc15_laog_lockdel.c:28)
     15 
     16 Free 2 and re-allocate it.  This gives it a new identity,
     17 so a second locking sequence 2 -> 1 should now be OK.
     18 done
     19 
     20 ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
     21