mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
update bench
This commit is contained in:
parent
1a9db7503a
commit
9c61cfe53a
2 changed files with 2 additions and 1 deletions
|
|
@ -935,6 +935,7 @@ module Thread = struct
|
|||
[100; 1_000]
|
||||
) [ 2, 3, 3
|
||||
; 5, 3, 3
|
||||
; 1, 5, 5
|
||||
; 2, 10, 10
|
||||
; 5, 10, 10
|
||||
; 20, 10, 10
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ module Barrier = struct
|
|||
with_lock_ b
|
||||
(fun () ->
|
||||
while not b.activated do
|
||||
Condition.wait b.cond b.lock
|
||||
Condition.wait b.cond b.lock
|
||||
done
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue