package async

  1. Overview
  2. Docs
Monadic concurrency library

Install

Dune Dependency

Authors

Maintainers

Sources

async-v0.14.0.tar.gz
sha256=74f2b7b01ce3b92289cc7a68cd3ae53885c763cedd320d27949d585e5c13dc64
md5=9f80cfb72e3defcc9fca50f67e23e93c

doc/async.lock_file_async/Lock_file_async/Nfs/index.html

Module Lock_file_async.Nfs

Nfs has analogs of functions in Lock_file_blocking.Nfs; see there for documentation. In addition to adding Deferred's, blocking_create was renamed waiting_create to avoid the impression that it blocks Async.

val create : ?message:string -> string -> unit Async.Deferred.Or_error.t
val create_exn : ?message:string -> string -> unit Async.Deferred.t
val waiting_create : ?abort:unit Async.Deferred.t -> ?message:string -> string -> unit Async.Deferred.t
val unlock_exn : string -> unit Async.Deferred.t
val unlock : string -> unit Async.Deferred.Or_error.t
val critical_section : ?message:string -> string -> abort:unit Async.Deferred.t -> f:(unit -> 'a Async.Deferred.t) -> 'a Async.Deferred.t
val get_hostname_and_pid : string -> (string * Core.Pid.t) option Async.Deferred.t
val get_message : string -> string option Async.Deferred.t
OCaml

Innovation. Community. Security.