Up
Module
RLimit
Resource limits
Signature
type
limit =
| Limit
of
int64
| Infinity
val
limit_of_sexp :
Sexplib.Sexp.t
->
limit
val
sexp_of_limit :
limit
->
Sexplib.Sexp.t
type
t = {
cur
:
limit
;
max
:
limit
;
}
val
t_of_sexp :
Sexplib.Sexp.t
->
t
val
sexp_of_t :
t
->
Sexplib.Sexp.t
type
resource
val
resource_of_sexp :
Sexplib.Sexp.t
->
resource
val
sexp_of_resource :
resource
->
Sexplib.Sexp.t
val
core_file_size :
resource
val
cpu_seconds :
resource
val
data_segment :
resource
val
file_size :
resource
val
num_file_descriptors :
resource
val
stack :
resource
val
virtual_memory :
resource
Core_kernel.Std.Or_error.t
val
nice :
resource
Core_kernel.Std.Or_error.t
val
get :
resource
->
t
val
set :
resource
->
t
-> unit