module Nfs: sig
.. end
Nfs
has analogs of functions in
Core.Lock_file.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 -> bool Import.Deferred.t
val create_exn : ?message:string -> string -> unit Import.Deferred.t
val waiting_create : ?message:string -> string -> unit Import.Deferred.t
val unlock_safely : string -> unit Import.Deferred.t
val critical_section : ?message:string ->
string -> f:(unit -> 'a Import.Deferred.t) -> 'a Import.Deferred.t
val get_hostname_and_pid : string -> (string * Core.Std.Pid.t) option Import.Deferred.t
val get_message : string -> string option Import.Deferred.t