A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Properly register the waiter in wait_any_for(), so that it gets handled on suspend...
[simgrid.git]
/
examples
/
sthread
/
pthread-mutex-recursive.tesh
diff --git
a/examples/sthread/pthread-mutex-recursive.tesh
b/examples/sthread/pthread-mutex-recursive.tesh
index afe8d88a90e830f230ea3b66a7b0425ad7508ee4..0879b2c14eff99116ba40f33b5642c9da1393412 100644
(file)
--- a/
examples/sthread/pthread-mutex-recursive.tesh
+++ b/
examples/sthread/pthread-mutex-recursive.tesh
@@
-1,7
+1,6
@@
$ env ASAN_OPTIONS=verify_asan_link_order=0:$ASAN_OPTIONS LD_PRELOAD=${libdir:=.}/libsthread.so ./pthread-mutex-recursive
$ env ASAN_OPTIONS=verify_asan_link_order=0:$ASAN_OPTIONS LD_PRELOAD=${libdir:=.}/libsthread.so ./pthread-mutex-recursive
-> sthread is intercepting the execution of ./pthread-mutex-recursive
-> [0.000000] [sthread/INFO] All threads exited. Terminating the simulation.
> Got the lock on the default mutex.
> Failed to relock the default mutex.
> Got the lock on the recursive mutex.
> Got the lock on the default mutex.
> Failed to relock the default mutex.
> Got the lock on the recursive mutex.
-> Got the lock again on the recursive mutex.
\ No newline at end of file
+> Got the lock again on the recursive mutex.
+> [0.000000] [sthread/INFO] All threads exited. Terminating the simulation.