package gapi-ocaml

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.4.8.tar.gz
sha256=5cc769af46198deb88707ccb50398088316e60f51db8c36389e6a2aae4c2ad30
md5=d918a22fde1b1d49a9783fb2f932d059

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