Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val return : 'a -> 'a t
val fail : exn -> 'a t
val sleep : float -> unit t
val auto_yield : float -> unit -> unit t
val create_recursive_mutex : unit -> mutex
Create a recursive mutex that can be locked recursively by the same * thread; i.e., unlike a regular mutex, * with_lock m (fun () -> ... with_lock m (fun () -> ... ))
* will not block.
val register_finaliser : ('a -> unit t) -> 'a -> unit