12345678910111213141516171819202122232425262728(* This file is part of Luv, released under the MIT license. See LICENSE.md for
details, or visit https://github.com/aantron/luv/blob/master/LICENSE.md. *)typet=C.Types.Condition.tCtypes.ptrletinit()=letcondition=Ctypes.addr(Ctypes.makeC.Types.Condition.t)inC.Functions.Condition.initcondition|>Error.to_resultconditionletdestroy=C.Functions.Condition.destroyletsignal=C.Functions.Condition.signalletbroadcast=C.Functions.Condition.broadcastletwait=C.Blocking.Condition.waitlettimedwaitconditionmutexinterval=C.Blocking.Condition.timedwaitconditionmutex(Unsigned.UInt64.of_intinterval)|>Error.to_result()