Mutex.Factorymodule Control : Mutex_controlmodule Control : Mutex_controlval create : unit -> mutexcreate () creates a mutex.
A computation that locks a mutex * and returns unit afterwards. Computation * will be blocked until the mutex is sucessfuly locked.
A computation that tries to lock a mutex. * Returns immediatly true if the mutex was sucesfully locked * or false otherwise.