update bench

This commit is contained in:
Simon Cruanes 2015-09-23 23:14:29 +02:00
parent 1a9db7503a
commit 9c61cfe53a
2 changed files with 2 additions and 1 deletions

View file

@ -935,6 +935,7 @@ module Thread = struct
[100; 1_000] [100; 1_000]
) [ 2, 3, 3 ) [ 2, 3, 3
; 5, 3, 3 ; 5, 3, 3
; 1, 5, 5
; 2, 10, 10 ; 2, 10, 10
; 5, 10, 10 ; 5, 10, 10
; 20, 10, 10 ; 20, 10, 10

View file

@ -53,7 +53,7 @@ module Barrier = struct
with_lock_ b with_lock_ b
(fun () -> (fun () ->
while not b.activated do while not b.activated do
Condition.wait b.cond b.lock Condition.wait b.cond b.lock
done done
) )