package gapi-ocaml

  1. Overview
  2. Docs
A simple OCaml client for Google Services

Install

Dune Dependency

Authors

Maintainers

Sources

v0.4.6.tar.gz
sha256=b84b680528a5e050014103a8e7a60a5d43efd5fefc3f838310bd46769775ab48
md5=8ee26acf1f6c6f5e24c7b57fa070a0a2

doc/gapi-ocaml.netsys-local/Netsys_oothr/class-type-mutex/index.html

Class type Netsys_oothr.mutexSource

method lock : unit -> unit

In a multi-threaded program: Suspends the calling thread until the mutex is locked. In a single-threaded program: This is a no-op

method unlock : unit -> unit

In a multi-threaded program: Unlocks a mutex. In a single-threaded program: This is a no-op

method try_lock : unit -> bool

In a multi-threaded program: Tries to immediately lock the mutex, and returns whether the lock could be obtained. In a single-threaded program: returns true

method repr : exn

May be used internally be the implementation

OCaml

Innovation. Community. Security.