sig
module Priority :
sig
type t = Core.Std.Linux_ext.Priority.t
val equal : t -> t -> bool
val of_int : int -> t
val to_int : t -> int
val incr : t -> t
val decr : t -> t
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
end
module Helper_thread :
sig
type t = In_thread.Helper_thread.t
val create :
?priority:Priority.t -> ?name:string -> unit -> t Core.Std.Or_error.t
end
val pipe_of_squeue : 'a Core.Std.Squeue.t -> 'a Async_core.Pipe.Reader.t
val run :
?priority:Priority.t ->
?thread:Helper_thread.t ->
?name:string -> (unit -> 'a) -> 'a Async_core.Deferred.t
val syscall :
name:string ->
(unit -> 'a) -> ('a, exn) Core.Std.Result.t Async_core.Deferred.t
val syscall_exn : name:string -> (unit -> 'a) -> 'a Async_core.Deferred.t
end