package duppy
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Parameter Factory.Mutex
module Control : Mutex.Mutex_control
val create : unit -> mutex
create ()
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.