Module Core__.Core_condition

type t = Condition.t
val create : unit ‑> t
val equal : t ‑> t ‑> bool
val wait : t ‑> Mutex.t ‑> unit
val timedwait : t ‑> Mutex.t ‑> Core__.Import_time.Time.t ‑> bool

timedwait cond mtx timeout waits on condition variable cond with mutex mtx until either the condition is signalled, or until timeout expires. Note that timeout is an absolute Unix-time to prevent time-related race conditions.

val signal : t ‑> unit
val broadcast : t ‑> unit