Capsule_blocking_syncmodule Capsule := Capsule_expertBlocking versions of synchronization primitives
The synchronization primitives in this module are heavyweight and slow, and should generally not be depended on for new code. Instead, new code should use synchronization primitives from the Await library, using an appropriate implementation of awaiting.
These are defined here only to provide some form of synchronization for libraries which cannot depend on Await
If threads are available, yields the current thread. Does nothing in bytecode.
module Mutex : sig ... endmodule Condition : sig ... end