module RLimit: sig
.. end
Resource limits
type
limit =
| |
Limit of int64 |
| |
Infinity |
val sexp_of_limit : limit -> Sexplib.Sexp.t
val limit_of_sexp : Sexplib.Sexp.t -> limit
type
t = {
}
val sexp_of_t : t -> Sexplib.Sexp.t
val t_of_sexp : Sexplib.Sexp.t -> t
type
resource = [ `Core_file_size
| `Cpu_seconds
| `Data_segment
| `File_size
| `Num_file_descriptors
| `Stack
| `Virtual_memory ]
val sexp_of_resource : resource -> Sexplib.Sexp.t
val resource_of_sexp : Sexplib.Sexp.t -> resource
val resource_of_sexp__ : Sexplib.Sexp.t -> resource
val get : resource -> t
val set : resource -> t -> unit