Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#96: Updated to 32nd version #97

Merged
merged 1 commit into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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