mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-06 03:05:30 -05:00
doc
This commit is contained in:
parent
8349f315b5
commit
9f976f4092
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ val try_pop : force_lock:bool -> 'a t -> 'a option
|
||||||
or returns [None] without blocking.
|
or returns [None] without blocking.
|
||||||
@param force_lock if true, use {!Mutex.lock} (which can block under contention);
|
@param force_lock if true, use {!Mutex.lock} (which can block under contention);
|
||||||
if false, use {!Mutex.try_lock}, which might return [None] even in
|
if false, use {!Mutex.try_lock}, which might return [None] even in
|
||||||
presence of an element if there's contention *)
|
presence of an element if there's contention *)
|
||||||
|
|
||||||
val try_push : 'a t -> 'a -> bool
|
val try_push : 'a t -> 'a -> bool
|
||||||
(** [try_push q x] tries to push into [q], in which case
|
(** [try_push q x] tries to push into [q], in which case
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue