Skip to content

Commit

Permalink
#96: Updated to 32nd version
Browse files Browse the repository at this point in the history
  • Loading branch information
levBagryansky committed Oct 16, 2023
1 parent 0b7e75a commit 8925d76
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ SOFTWARE.
<packaging>jar</packaging>
<name>eo-threads</name>
<properties>
<eolang.version>0.30.0</eolang.version>
<eolang.version>0.32.0</eolang.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<stack-size>256M</stack-size>
Expand Down
7 changes: 4 additions & 3 deletions src/test/eo/org/eolang/threads/mutex-test.eo
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@
seq
mut.acquire 1 > a
mem.write
mem.times 2
mem.as-int.times 2
a.release 1
thread > t2
seq
mut.acquire 1 > b
mem.write
mem.times 3
mem.as-int.times 3
b.release 1
assert-that > @
seq
Expand Down Expand Up @@ -219,6 +219,7 @@
finish.write
call "gettimeofday"
gt.
finish.minus start
finish.as-int.minus
start.as-int
400000
$.equal-to TRUE
6 changes: 4 additions & 2 deletions src/test/eo/org/eolang/threads/thread-test.eo
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@
sleep 200
finish.write
call "gettimeofday"
finish.minus start
finish.as-int.minus
start.as-int
$.all-of
$.less-than
1000000
Expand Down Expand Up @@ -135,7 +136,8 @@
finish.write
call "gettimeofday"
lt.
finish.minus start
finish.as-int.minus
start.as-int
600000
$.equal-to TRUE

Expand Down

0 comments on commit 8925d76

Please sign in to comment.