mirror of
https://github.com/vlang/v.git
synced 2025-08-03 17:57:59 -04:00
sync: fix typo on atomic_test.v (#22168)
This commit is contained in:
parent
ae9456adc6
commit
e1847cac9c
@ -8,7 +8,7 @@ mut:
|
|||||||
counter u64
|
counter u64
|
||||||
}
|
}
|
||||||
|
|
||||||
// without proper syncronization this would fail
|
// without proper synchronization this would fail
|
||||||
fn test_count_10_times_1_cycle_should_result_10_cycles_with_sync() {
|
fn test_count_10_times_1_cycle_should_result_10_cycles_with_sync() {
|
||||||
desired_iterations := 10 * iterations_per_cycle
|
desired_iterations := 10 * iterations_per_cycle
|
||||||
mut wg := sync.new_waitgroup()
|
mut wg := sync.new_waitgroup()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user