Skip to content

Commit

Permalink
tests: fix concurrency test
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Oct 1, 2024
1 parent c0402d8 commit 480ab47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/concurrency/main.jule
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use "std/sync"
use "std/sync/atomic"

static mut n = atomic::AtomicInt.New(0)
static mut n = atomic::Int.New(0)

fn addToN(mut wg: &sync::WaitGroup) {
n.Add(1, atomic::MemoryOrder.Relaxed)
Expand Down

0 comments on commit 480ab47

Please sign in to comment.