File: pthread-mc-cond-timedwait_ok.tesh

package info (click to toggle)
simgrid 4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 38,980 kB
  • sloc: cpp: 123,583; ansic: 66,779; python: 8,358; java: 6,406; fortran: 6,079; f90: 5,123; xml: 4,587; sh: 2,337; perl: 1,436; makefile: 105; lisp: 49; javascript: 7; sed: 6
file content (49 lines) | stat: -rw-r--r-- 1,670 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49

# We ignore the LD_PRELOAD lines from the expected output because they contain the build path
! ignore .*LD_PRELOAD.*

$ $VALGRIND_NO_TRACE_CHILDREN ${bindir:=.}/../../bin/simgrid-mc --cfg=model-check/setenv:LD_PRELOAD=${libdir:=.}/libsthread.so ${bindir:=.}/pthread-cond-timedwait_ok
> [0.000000] [mc_dfs/INFO] Start a DFS exploration. Reduction is: dpor.
> Thread: Wait for 1s
> main: sleep 5ms
> main: signal the condition
> Thread: waiting the signal timeouted!
> Thread: Wait for 1s
> Thread: waiting the signal timeouted!
> Thread: Wait for 1s
> main: sleep 5ms
> main: signal the condition
> Thread: got signaled!
> Thread: Wait for 1s
> Thread: waiting the signal timeouted!
> Thread: Wait for 1s
> main: sleep 5ms
> main: signal the condition
> Thread: waiting the signal timeouted!
> Thread: Wait for 1s
> Thread: waiting the signal timeouted!
> Thread: Wait for 1s
> main: sleep 5ms
> Thread: waiting the signal timeouted!
> Thread: Wait for 1s
> main: signal the condition
> Thread: waiting the signal timeouted!
> Thread: Wait for 1s
> main: sleep 5ms
> Thread: waiting the signal timeouted!
> Thread: Wait for 1s
> main: signal the condition
> Thread: got signaled!
> Thread: Wait for 1s
> main: sleep 5ms
> Thread: waiting the signal timeouted!
> Thread: Wait for 1s
> main: signal the condition
> Thread: waiting the signal timeouted!
> Thread: Wait for 1s
> main: sleep 5ms
> Thread: waiting the signal timeouted!
> Thread: Wait for 1s
> Thread: waiting the signal timeouted!
> main: signal the condition
> [0.000000] [mc_dfs/INFO] DFS exploration ended. 105 unique states visited; 7 explored traces (43 transition replays, 148 states visited overall)