mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
small change in test
This commit is contained in:
parent
64a41b0789
commit
5af816fe9b
1 changed files with 4 additions and 2 deletions
|
|
@ -112,7 +112,9 @@ module Queue = struct
|
|||
let q = Queue.create 2 in
|
||||
let senders = Arr.spawn 3
|
||||
(fun i ->
|
||||
List.iter (Queue.push q) lists.(i)
|
||||
if i=1
|
||||
then Queue.push_list q lists.(i) (* test push_list *)
|
||||
else List.iter (Queue.push q) lists.(i)
|
||||
)
|
||||
in
|
||||
let l = CCLock.create [] in
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue