module T: sig
.. end
type
ready_to_result = [ `Bad_fd | `Closed | `Interrupted | `Ready ]
val sexp_of_ready_to_result : ready_to_result -> Sexplib.Sexp.t
type
t = {
|
name :string ; |
|
file_descr :Raw_fd.File_descr.t ; |
|
kind :Raw_fd.Kind.t ; |
|
supports_nonblock :bool ; |
|
mutable have_set_nonblock :bool ; |
|
mutable state :Raw_fd.State.t ; |
|
mutable num_active_syscalls :int ; |
|
close_finished :unit Import.Ivar.t ; |
}
val sexp_of_t : t -> Sexplib.Sexp.t
val close_finished : t -> unit Import.Ivar.t
val num_active_syscalls : t -> int
val set_num_active_syscalls : t -> int -> unit
val state : t -> Raw_fd.State.t
val set_state : t -> Raw_fd.State.t -> unit
val have_set_nonblock : t -> bool
val set_have_set_nonblock : t -> bool -> unit
val supports_nonblock : t -> bool
val kind : t -> Raw_fd.Kind.t
val file_descr : t -> Raw_fd.File_descr.t
val name : t -> string
module Fields: sig
.. end