Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Finish up the implementation of recursive mutexes
[simgrid.git] / examples / sthread / pthread-mc-mutex-recursive.tesh
1 # We ignore the LD_PRELOAD lines from the expected output because they contain the build path
2 ! ignore .*LD_PRELOAD.*
3
4 $ $VALGRIND_NO_TRACE_CHILDREN ${bindir:=.}/../../bin/simgrid-mc --cfg=model-check/setenv:LD_PRELOAD=${libdir:=.}/libsgmalloc.so:${libdir:=.}/libsthread.so ${bindir:=.}/pthread-mutex-recursive
5 > sthread is intercepting the execution of ./pthread-mutex-recursive
6 > [0.000000] [mc_dfs/INFO] Start a DFS exploration. Reduction is: dpor.
7 > Got the lock on the default mutex.
8 > Failed to relock the default mutex.
9 > Got the lock on the recursive mutex.
10 > Got the lock again on the recursive mutex.
11 > Got the lock on the default mutex.
12 > Failed to relock the default mutex.
13 > Got the lock on the recursive mutex.
14 > Got the lock again on the recursive mutex.
15 > [0.000000] [mc_dfs/INFO] DFS exploration ended. 17 unique states visited; 1 backtracks (3 transition replays, 21 states visited overall)