This repository was archived by the owner on Sep 3, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
src/test/eo/org/eolang/threads Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ SOFTWARE.
3535 <packaging >jar</packaging >
3636 <name >eo-threads</name >
3737 <properties >
38- <eolang .version>0.30 .0</eolang .version>
38+ <eolang .version>0.32 .0</eolang .version>
3939 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
4040 <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
4141 <stack-size >256M</stack-size >
Original file line number Diff line number Diff line change 7171 seq
7272 mut.acquire 1 > a
7373 mem.write
74- mem.times 2
74+ mem.as-int. times 2
7575 a.release 1
7676 thread > t2
7777 seq
7878 mut.acquire 1 > b
7979 mem.write
80- mem.times 3
80+ mem.as-int. times 3
8181 b.release 1
8282 assert-that > @
8383 seq
219219 finish.write
220220 call "gettimeofday"
221221 gt.
222- finish.minus start
222+ finish.as-int.minus
223+ start.as-int
223224 400000
224225 $.equal-to TRUE
Original file line number Diff line number Diff line change 107107 sleep 200
108108 finish.write
109109 call "gettimeofday"
110- finish.minus start
110+ finish.as-int.minus
111+ start.as-int
111112 $.all-of
112113 $.less-than
113114 1000000
135136 finish.write
136137 call "gettimeofday"
137138 lt.
138- finish.minus start
139+ finish.as-int.minus
140+ start.as-int
139141 600000
140142 $.equal-to TRUE
141143
You can’t perform that action at this time.
0 commit comments