-$ ./pthread-mutex-simple
+$ env ASAN_OPTIONS=verify_asan_link_order=0:$ASAN_OPTIONS LD_PRELOAD=${libdir:=.}/libsthread.so ./pthread-mutex-simple
> [0.000000] [sthread/INFO] Starting the simulation.
-> The first thread is terminating.
> All threads are started.
-> The second thread is terminating.
+> The thread 0 is terminating.
+> The thread 1 is terminating.
> User's main is terminating.
-> [0.000000] [sthread/INFO] All threads exited. Terminating the simulation.
\ No newline at end of file
+> [0.000000] [sthread/INFO] All threads exited. Terminating the simulation.