val
fold :
t -> init:'a -> check_access:('a -> ([<
|
`Read
|
`Set_and_create
],
t, (unit -> unit) option)
Fieldslib.Field.t_with_perm ->
t -> (unit -> unit) option -> 'b) -> job_pool:('b -> ([<
|
`Read
|
`Set_and_create
],
t,
Job_pool.t)
Fieldslib.Field.t_with_perm ->
t ->
Job_pool.t -> 'c) -> normal_priority_jobs:('c -> ([<
|
`Read
|
`Set_and_create
],
t,
Job_queue.t)
Fieldslib.Field.t_with_perm ->
t ->
Job_queue.t -> 'd) -> low_priority_jobs:('d -> ([<
|
`Read
|
`Set_and_create
],
t,
Job_queue.t)
Fieldslib.Field.t_with_perm ->
t ->
Job_queue.t -> 'e) -> main_execution_context:('e -> ([<
|
`Read
|
`Set_and_create
],
t,
Execution_context.t)
Fieldslib.Field.t_with_perm ->
t ->
Execution_context.t -> 'f) -> current_execution_context:('f -> ([<
|
`Read
|
`Set_and_create
],
t,
Execution_context.t)
Fieldslib.Field.t_with_perm ->
t ->
Execution_context.t -> 'g) -> uncaught_exn:('g -> ([<
|
`Read
|
`Set_and_create
],
t, (
Core_kernel.Std.Exn.t
*
Core_kernel.Std.Sexp.t) option)
Fieldslib.Field.t_with_perm ->
t -> (
Core_kernel.Std.Exn.t
*
Core_kernel.Std.Sexp.t) option -> 'h) -> cycle_count:('h -> ([<
|
`Read
|
`Set_and_create
],
t, int)
Fieldslib.Field.t_with_perm ->
t -> int -> 'i) -> cycle_start:('i -> ([<
|
`Read
|
`Set_and_create
],
t,
Import.Time_ns.t)
Fieldslib.Field.t_with_perm ->
t ->
Import.Time_ns.t -> 'j) -> run_every_cycle_start:('j -> ([<
|
`Read
|
`Set_and_create
],
t, (unit -> unit) list)
Fieldslib.Field.t_with_perm ->
t -> (unit -> unit) list -> 'k) -> last_cycle_time:('k -> ([<
|
`Read
|
`Set_and_create
],
t,
Import.Time_ns.Span.t)
Fieldslib.Field.t_with_perm ->
t ->
Import.Time_ns.Span.t -> 'l) -> last_cycle_num_jobs:('l -> ([<
|
`Read
|
`Set_and_create
],
t, int)
Fieldslib.Field.t_with_perm ->
t -> int -> 'm) -> time_source:('m -> ([<
|
`Read
|
`Set_and_create
],
t,
Core_kernel.Std.read_write Time_source.T1.t)
Fieldslib.Field.t_with_perm ->
t ->
Core_kernel.Std.read_write Time_source.T1.t -> 'n) -> external_jobs:('n -> ([<
|
`Read
|
`Set_and_create
],
t,
External_job.t Core_kernel.Std.Thread_safe_queue.t)
Fieldslib.Field.t_with_perm ->
t ->
External_job.t Core_kernel.Std.Thread_safe_queue.t -> 'o) -> thread_safe_external_job_hook:('o -> ([<
|
`Read
|
`Set_and_create
],
t, unit -> unit)
Fieldslib.Field.t_with_perm ->
t -> (unit -> unit) -> 'p) -> job_queued_hook:('p -> ([<
|
`Read
|
`Set_and_create
],
t, (
Priority.t -> unit) option)
Fieldslib.Field.t_with_perm ->
t -> (
Priority.t -> unit) option -> 'q) -> event_added_hook:('q -> ([<
|
`Read
|
`Set_and_create
],
t, (
Import.Time_ns.t -> unit) option)
Fieldslib.Field.t_with_perm ->
t -> (
Import.Time_ns.t -> unit) option -> 'r) -> yield_ivar:('r -> ([<
|
`Read
|
`Set_and_create
],
t, unit
Types.Ivar.t Core_kernel.Std.sexp_opaque option)
Fieldslib.Field.t_with_perm ->
t -> unit
Types.Ivar.t Core_kernel.Std.sexp_opaque option -> 's) -> check_invariants:('s -> ([<
|
`Read
|
`Set_and_create
],
t, bool)
Fieldslib.Field.t_with_perm ->
t -> bool -> 't) -> max_num_jobs_per_priority_per_cycle:('t -> ([<
|
`Read
|
`Set_and_create
],
t,
Import.Max_num_jobs_per_priority_per_cycle.t)
Fieldslib.Field.t_with_perm ->
t ->
Import.Max_num_jobs_per_priority_per_cycle.t -> 'u) -> record_backtraces:('u -> ([<
|
`Read
|
`Set_and_create
],
t, bool)
Fieldslib.Field.t_with_perm ->
t -> bool -> 'v) -> 'v