`val iter : t ‑> check_access:(([< `Read | `Set_and_create ], t, (unit ‑> unit) option) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) option ‑> 'a) ‑> job_pool:(([< `Read | `Set_and_create ], t, Async_kernel__.Job_pool.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Job_pool.t ‑> 'b) ‑> normal_priority_jobs:(([< `Read | `Set_and_create ], t, Async_kernel__.Job_queue.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Job_queue.t ‑> 'c) ‑> low_priority_jobs:(([< `Read | `Set_and_create ], t, Async_kernel__.Job_queue.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Job_queue.t ‑> 'd) ‑> very_low_priority_workers:(([< `Read | `Set_and_create ], t, Very_low_priority_worker.t Core_kernel.Deque.t) Fieldslib.Field.t_with_perm ‑> t ‑> Very_low_priority_worker.t Core_kernel.Deque.t ‑> 'e) ‑> main_execution_context:(([< `Read | `Set_and_create ], t, Async_kernel.Execution_context.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel.Execution_context.t ‑> 'f) ‑> current_execution_context:(([< `Read | `Set_and_create ], t, Async_kernel.Execution_context.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel.Execution_context.t ‑> 'g) ‑> uncaught_exn:(([< `Read | `Set_and_create ], t, (Core_kernel.Exn.t * Core_kernel.Sexp.t) option) Fieldslib.Field.t_with_perm ‑> t ‑> (Core_kernel.Exn.t * Core_kernel.Sexp.t) option ‑> 'h) ‑> cycle_count:(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ‑> t ‑> int ‑> 'i) ‑> cycle_start:(([< `Read | `Set_and_create ], t, Async_kernel__.Import.Time_ns.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Import.Time_ns.t ‑> 'j) ‑> run_every_cycle_start:(([< `Read | `Set_and_create ], t, (unit ‑> unit) list) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) list ‑> 'k) ‑> last_cycle_time:(([< `Read | `Set_and_create ], t, Async_kernel__.Import.Time_ns.Span.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Import.Time_ns.Span.t ‑> 'l) ‑> last_cycle_num_jobs:(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ‑> t ‑> int ‑> 'm) ‑> time_source:(([< `Read | `Set_and_create ], t, Core_kernel.read_write Synchronous_time_source.T1.t) Fieldslib.Field.t_with_perm ‑> t ‑> Core_kernel.read_write Synchronous_time_source.T1.t ‑> 'n) ‑> external_jobs:(([< `Read | `Set_and_create ], t, Async_kernel__.External_job.t Core_kernel.Thread_safe_queue.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.External_job.t Core_kernel.Thread_safe_queue.t ‑> 'o) ‑> thread_safe_external_job_hook:(([< `Read | `Set_and_create ], t, unit ‑> unit) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) ‑> 'p) ‑> job_queued_hook:(([< `Read | `Set_and_create ], t, (Async_kernel.Priority.t ‑> unit) option) Fieldslib.Field.t_with_perm ‑> t ‑> (Async_kernel.Priority.t ‑> unit) option ‑> 'q) ‑> event_added_hook:(([< `Read | `Set_and_create ], t, (Async_kernel__.Import.Time_ns.t ‑> unit) option) Fieldslib.Field.t_with_perm ‑> t ‑> (Async_kernel__.Import.Time_ns.t ‑> unit) option ‑> 'r) ‑> yield:(([< `Read | `Set_and_create ], t, (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque) Fieldslib.Field.t_with_perm ‑> t ‑> (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque ‑> 's) ‑> yield_until_no_jobs_remain:(([< `Read | `Set_and_create ], t, (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque) Fieldslib.Field.t_with_perm ‑> t ‑> (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque ‑> 't) ‑> check_invariants:(([< `Read | `Set_and_create ], t, bool) Fieldslib.Field.t_with_perm ‑> t ‑> bool ‑> 'u) ‑> max_num_jobs_per_priority_per_cycle:(([< `Read | `Set_and_create ], t, Async_kernel__.Import.Max_num_jobs_per_priority_per_cycle.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Import.Max_num_jobs_per_priority_per_cycle.t ‑> 'v) ‑> record_backtraces:(([< `Read | `Set_and_create ], t, bool) Fieldslib.Field.t_with_perm ‑> t ‑> bool ‑> 'w) ‑> on_start_of_cycle:(([< `Read | `Set_and_create ], t, unit ‑> unit) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) ‑> 'x) ‑> on_end_of_cycle:(([< `Read | `Set_and_create ], t, unit ‑> unit) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) ‑> 'y) ‑> 'y`
`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, Async_kernel__.Job_pool.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Job_pool.t ‑> 'c) ‑> normal_priority_jobs:('c ‑> ([< `Read | `Set_and_create ], t, Async_kernel__.Job_queue.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Job_queue.t ‑> 'd) ‑> low_priority_jobs:('d ‑> ([< `Read | `Set_and_create ], t, Async_kernel__.Job_queue.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Job_queue.t ‑> 'e) ‑> very_low_priority_workers:('e ‑> ([< `Read | `Set_and_create ], t, Very_low_priority_worker.t Core_kernel.Deque.t) Fieldslib.Field.t_with_perm ‑> t ‑> Very_low_priority_worker.t Core_kernel.Deque.t ‑> 'f) ‑> main_execution_context:('f ‑> ([< `Read | `Set_and_create ], t, Async_kernel.Execution_context.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel.Execution_context.t ‑> 'g) ‑> current_execution_context:('g ‑> ([< `Read | `Set_and_create ], t, Async_kernel.Execution_context.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel.Execution_context.t ‑> 'h) ‑> uncaught_exn:('h ‑> ([< `Read | `Set_and_create ], t, (Core_kernel.Exn.t * Core_kernel.Sexp.t) option) Fieldslib.Field.t_with_perm ‑> t ‑> (Core_kernel.Exn.t * Core_kernel.Sexp.t) option ‑> 'i) ‑> cycle_count:('i ‑> ([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ‑> t ‑> int ‑> 'j) ‑> cycle_start:('j ‑> ([< `Read | `Set_and_create ], t, Async_kernel__.Import.Time_ns.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Import.Time_ns.t ‑> 'k) ‑> run_every_cycle_start:('k ‑> ([< `Read | `Set_and_create ], t, (unit ‑> unit) list) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) list ‑> 'l) ‑> last_cycle_time:('l ‑> ([< `Read | `Set_and_create ], t, Async_kernel__.Import.Time_ns.Span.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Import.Time_ns.Span.t ‑> 'm) ‑> last_cycle_num_jobs:('m ‑> ([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ‑> t ‑> int ‑> 'n) ‑> time_source:('n ‑> ([< `Read | `Set_and_create ], t, Core_kernel.read_write Synchronous_time_source.T1.t) Fieldslib.Field.t_with_perm ‑> t ‑> Core_kernel.read_write Synchronous_time_source.T1.t ‑> 'o) ‑> external_jobs:('o ‑> ([< `Read | `Set_and_create ], t, Async_kernel__.External_job.t Core_kernel.Thread_safe_queue.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.External_job.t Core_kernel.Thread_safe_queue.t ‑> 'p) ‑> thread_safe_external_job_hook:('p ‑> ([< `Read | `Set_and_create ], t, unit ‑> unit) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) ‑> 'q) ‑> job_queued_hook:('q ‑> ([< `Read | `Set_and_create ], t, (Async_kernel.Priority.t ‑> unit) option) Fieldslib.Field.t_with_perm ‑> t ‑> (Async_kernel.Priority.t ‑> unit) option ‑> 'r) ‑> event_added_hook:('r ‑> ([< `Read | `Set_and_create ], t, (Async_kernel__.Import.Time_ns.t ‑> unit) option) Fieldslib.Field.t_with_perm ‑> t ‑> (Async_kernel__.Import.Time_ns.t ‑> unit) option ‑> 's) ‑> yield:('s ‑> ([< `Read | `Set_and_create ], t, (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque) Fieldslib.Field.t_with_perm ‑> t ‑> (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque ‑> 't) ‑> yield_until_no_jobs_remain:('t ‑> ([< `Read | `Set_and_create ], t, (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque) Fieldslib.Field.t_with_perm ‑> t ‑> (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque ‑> 'u) ‑> check_invariants:('u ‑> ([< `Read | `Set_and_create ], t, bool) Fieldslib.Field.t_with_perm ‑> t ‑> bool ‑> 'v) ‑> max_num_jobs_per_priority_per_cycle:('v ‑> ([< `Read | `Set_and_create ], t, Async_kernel__.Import.Max_num_jobs_per_priority_per_cycle.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Import.Max_num_jobs_per_priority_per_cycle.t ‑> 'w) ‑> record_backtraces:('w ‑> ([< `Read | `Set_and_create ], t, bool) Fieldslib.Field.t_with_perm ‑> t ‑> bool ‑> 'x) ‑> on_start_of_cycle:('x ‑> ([< `Read | `Set_and_create ], t, unit ‑> unit) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) ‑> 'y) ‑> on_end_of_cycle:('y ‑> ([< `Read | `Set_and_create ], t, unit ‑> unit) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) ‑> 'z) ‑> 'z`
`val for_all : t ‑> check_access:(([< `Read | `Set_and_create ], t, (unit ‑> unit) option) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) option ‑> bool) ‑> job_pool:(([< `Read | `Set_and_create ], t, Async_kernel__.Job_pool.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Job_pool.t ‑> bool) ‑> normal_priority_jobs:(([< `Read | `Set_and_create ], t, Async_kernel__.Job_queue.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Job_queue.t ‑> bool) ‑> low_priority_jobs:(([< `Read | `Set_and_create ], t, Async_kernel__.Job_queue.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Job_queue.t ‑> bool) ‑> very_low_priority_workers:(([< `Read | `Set_and_create ], t, Very_low_priority_worker.t Core_kernel.Deque.t) Fieldslib.Field.t_with_perm ‑> t ‑> Very_low_priority_worker.t Core_kernel.Deque.t ‑> bool) ‑> main_execution_context:(([< `Read | `Set_and_create ], t, Async_kernel.Execution_context.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel.Execution_context.t ‑> bool) ‑> current_execution_context:(([< `Read | `Set_and_create ], t, Async_kernel.Execution_context.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel.Execution_context.t ‑> bool) ‑> uncaught_exn:(([< `Read | `Set_and_create ], t, (Core_kernel.Exn.t * Core_kernel.Sexp.t) option) Fieldslib.Field.t_with_perm ‑> t ‑> (Core_kernel.Exn.t * Core_kernel.Sexp.t) option ‑> bool) ‑> cycle_count:(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ‑> t ‑> int ‑> bool) ‑> cycle_start:(([< `Read | `Set_and_create ], t, Async_kernel__.Import.Time_ns.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Import.Time_ns.t ‑> bool) ‑> run_every_cycle_start:(([< `Read | `Set_and_create ], t, (unit ‑> unit) list) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) list ‑> bool) ‑> last_cycle_time:(([< `Read | `Set_and_create ], t, Async_kernel__.Import.Time_ns.Span.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Import.Time_ns.Span.t ‑> bool) ‑> last_cycle_num_jobs:(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ‑> t ‑> int ‑> bool) ‑> time_source:(([< `Read | `Set_and_create ], t, Core_kernel.read_write Synchronous_time_source.T1.t) Fieldslib.Field.t_with_perm ‑> t ‑> Core_kernel.read_write Synchronous_time_source.T1.t ‑> bool) ‑> external_jobs:(([< `Read | `Set_and_create ], t, Async_kernel__.External_job.t Core_kernel.Thread_safe_queue.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.External_job.t Core_kernel.Thread_safe_queue.t ‑> bool) ‑> thread_safe_external_job_hook:(([< `Read | `Set_and_create ], t, unit ‑> unit) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) ‑> bool) ‑> job_queued_hook:(([< `Read | `Set_and_create ], t, (Async_kernel.Priority.t ‑> unit) option) Fieldslib.Field.t_with_perm ‑> t ‑> (Async_kernel.Priority.t ‑> unit) option ‑> bool) ‑> event_added_hook:(([< `Read | `Set_and_create ], t, (Async_kernel__.Import.Time_ns.t ‑> unit) option) Fieldslib.Field.t_with_perm ‑> t ‑> (Async_kernel__.Import.Time_ns.t ‑> unit) option ‑> bool) ‑> yield:(([< `Read | `Set_and_create ], t, (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque) Fieldslib.Field.t_with_perm ‑> t ‑> (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque ‑> bool) ‑> yield_until_no_jobs_remain:(([< `Read | `Set_and_create ], t, (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque) Fieldslib.Field.t_with_perm ‑> t ‑> (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque ‑> bool) ‑> check_invariants:(([< `Read | `Set_and_create ], t, bool) Fieldslib.Field.t_with_perm ‑> t ‑> bool ‑> bool) ‑> max_num_jobs_per_priority_per_cycle:(([< `Read | `Set_and_create ], t, Async_kernel__.Import.Max_num_jobs_per_priority_per_cycle.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Import.Max_num_jobs_per_priority_per_cycle.t ‑> bool) ‑> record_backtraces:(([< `Read | `Set_and_create ], t, bool) Fieldslib.Field.t_with_perm ‑> t ‑> bool ‑> bool) ‑> on_start_of_cycle:(([< `Read | `Set_and_create ], t, unit ‑> unit) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) ‑> bool) ‑> on_end_of_cycle:(([< `Read | `Set_and_create ], t, unit ‑> unit) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) ‑> bool) ‑> bool`
`val exists : t ‑> check_access:(([< `Read | `Set_and_create ], t, (unit ‑> unit) option) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) option ‑> bool) ‑> job_pool:(([< `Read | `Set_and_create ], t, Async_kernel__.Job_pool.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Job_pool.t ‑> bool) ‑> normal_priority_jobs:(([< `Read | `Set_and_create ], t, Async_kernel__.Job_queue.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Job_queue.t ‑> bool) ‑> low_priority_jobs:(([< `Read | `Set_and_create ], t, Async_kernel__.Job_queue.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Job_queue.t ‑> bool) ‑> very_low_priority_workers:(([< `Read | `Set_and_create ], t, Very_low_priority_worker.t Core_kernel.Deque.t) Fieldslib.Field.t_with_perm ‑> t ‑> Very_low_priority_worker.t Core_kernel.Deque.t ‑> bool) ‑> main_execution_context:(([< `Read | `Set_and_create ], t, Async_kernel.Execution_context.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel.Execution_context.t ‑> bool) ‑> current_execution_context:(([< `Read | `Set_and_create ], t, Async_kernel.Execution_context.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel.Execution_context.t ‑> bool) ‑> uncaught_exn:(([< `Read | `Set_and_create ], t, (Core_kernel.Exn.t * Core_kernel.Sexp.t) option) Fieldslib.Field.t_with_perm ‑> t ‑> (Core_kernel.Exn.t * Core_kernel.Sexp.t) option ‑> bool) ‑> cycle_count:(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ‑> t ‑> int ‑> bool) ‑> cycle_start:(([< `Read | `Set_and_create ], t, Async_kernel__.Import.Time_ns.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Import.Time_ns.t ‑> bool) ‑> run_every_cycle_start:(([< `Read | `Set_and_create ], t, (unit ‑> unit) list) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) list ‑> bool) ‑> last_cycle_time:(([< `Read | `Set_and_create ], t, Async_kernel__.Import.Time_ns.Span.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Import.Time_ns.Span.t ‑> bool) ‑> last_cycle_num_jobs:(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ‑> t ‑> int ‑> bool) ‑> time_source:(([< `Read | `Set_and_create ], t, Core_kernel.read_write Synchronous_time_source.T1.t) Fieldslib.Field.t_with_perm ‑> t ‑> Core_kernel.read_write Synchronous_time_source.T1.t ‑> bool) ‑> external_jobs:(([< `Read | `Set_and_create ], t, Async_kernel__.External_job.t Core_kernel.Thread_safe_queue.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.External_job.t Core_kernel.Thread_safe_queue.t ‑> bool) ‑> thread_safe_external_job_hook:(([< `Read | `Set_and_create ], t, unit ‑> unit) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) ‑> bool) ‑> job_queued_hook:(([< `Read | `Set_and_create ], t, (Async_kernel.Priority.t ‑> unit) option) Fieldslib.Field.t_with_perm ‑> t ‑> (Async_kernel.Priority.t ‑> unit) option ‑> bool) ‑> event_added_hook:(([< `Read | `Set_and_create ], t, (Async_kernel__.Import.Time_ns.t ‑> unit) option) Fieldslib.Field.t_with_perm ‑> t ‑> (Async_kernel__.Import.Time_ns.t ‑> unit) option ‑> bool) ‑> yield:(([< `Read | `Set_and_create ], t, (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque) Fieldslib.Field.t_with_perm ‑> t ‑> (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque ‑> bool) ‑> yield_until_no_jobs_remain:(([< `Read | `Set_and_create ], t, (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque) Fieldslib.Field.t_with_perm ‑> t ‑> (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque ‑> bool) ‑> check_invariants:(([< `Read | `Set_and_create ], t, bool) Fieldslib.Field.t_with_perm ‑> t ‑> bool ‑> bool) ‑> max_num_jobs_per_priority_per_cycle:(([< `Read | `Set_and_create ], t, Async_kernel__.Import.Max_num_jobs_per_priority_per_cycle.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Import.Max_num_jobs_per_priority_per_cycle.t ‑> bool) ‑> record_backtraces:(([< `Read | `Set_and_create ], t, bool) Fieldslib.Field.t_with_perm ‑> t ‑> bool ‑> bool) ‑> on_start_of_cycle:(([< `Read | `Set_and_create ], t, unit ‑> unit) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) ‑> bool) ‑> on_end_of_cycle:(([< `Read | `Set_and_create ], t, unit ‑> unit) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) ‑> bool) ‑> bool`
`val to_list : t ‑> check_access:(([< `Read | `Set_and_create ], t, (unit ‑> unit) option) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) option ‑> 'a) ‑> job_pool:(([< `Read | `Set_and_create ], t, Async_kernel__.Job_pool.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Job_pool.t ‑> 'a) ‑> normal_priority_jobs:(([< `Read | `Set_and_create ], t, Async_kernel__.Job_queue.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Job_queue.t ‑> 'a) ‑> low_priority_jobs:(([< `Read | `Set_and_create ], t, Async_kernel__.Job_queue.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Job_queue.t ‑> 'a) ‑> very_low_priority_workers:(([< `Read | `Set_and_create ], t, Very_low_priority_worker.t Core_kernel.Deque.t) Fieldslib.Field.t_with_perm ‑> t ‑> Very_low_priority_worker.t Core_kernel.Deque.t ‑> 'a) ‑> main_execution_context:(([< `Read | `Set_and_create ], t, Async_kernel.Execution_context.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel.Execution_context.t ‑> 'a) ‑> current_execution_context:(([< `Read | `Set_and_create ], t, Async_kernel.Execution_context.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel.Execution_context.t ‑> 'a) ‑> uncaught_exn:(([< `Read | `Set_and_create ], t, (Core_kernel.Exn.t * Core_kernel.Sexp.t) option) Fieldslib.Field.t_with_perm ‑> t ‑> (Core_kernel.Exn.t * Core_kernel.Sexp.t) option ‑> 'a) ‑> cycle_count:(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ‑> t ‑> int ‑> 'a) ‑> cycle_start:(([< `Read | `Set_and_create ], t, Async_kernel__.Import.Time_ns.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Import.Time_ns.t ‑> 'a) ‑> run_every_cycle_start:(([< `Read | `Set_and_create ], t, (unit ‑> unit) list) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) list ‑> 'a) ‑> last_cycle_time:(([< `Read | `Set_and_create ], t, Async_kernel__.Import.Time_ns.Span.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Import.Time_ns.Span.t ‑> 'a) ‑> last_cycle_num_jobs:(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ‑> t ‑> int ‑> 'a) ‑> time_source:(([< `Read | `Set_and_create ], t, Core_kernel.read_write Synchronous_time_source.T1.t) Fieldslib.Field.t_with_perm ‑> t ‑> Core_kernel.read_write Synchronous_time_source.T1.t ‑> 'a) ‑> external_jobs:(([< `Read | `Set_and_create ], t, Async_kernel__.External_job.t Core_kernel.Thread_safe_queue.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.External_job.t Core_kernel.Thread_safe_queue.t ‑> 'a) ‑> thread_safe_external_job_hook:(([< `Read | `Set_and_create ], t, unit ‑> unit) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) ‑> 'a) ‑> job_queued_hook:(([< `Read | `Set_and_create ], t, (Async_kernel.Priority.t ‑> unit) option) Fieldslib.Field.t_with_perm ‑> t ‑> (Async_kernel.Priority.t ‑> unit) option ‑> 'a) ‑> event_added_hook:(([< `Read | `Set_and_create ], t, (Async_kernel__.Import.Time_ns.t ‑> unit) option) Fieldslib.Field.t_with_perm ‑> t ‑> (Async_kernel__.Import.Time_ns.t ‑> unit) option ‑> 'a) ‑> yield:(([< `Read | `Set_and_create ], t, (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque) Fieldslib.Field.t_with_perm ‑> t ‑> (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque ‑> 'a) ‑> yield_until_no_jobs_remain:(([< `Read | `Set_and_create ], t, (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque) Fieldslib.Field.t_with_perm ‑> t ‑> (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque ‑> 'a) ‑> check_invariants:(([< `Read | `Set_and_create ], t, bool) Fieldslib.Field.t_with_perm ‑> t ‑> bool ‑> 'a) ‑> max_num_jobs_per_priority_per_cycle:(([< `Read | `Set_and_create ], t, Async_kernel__.Import.Max_num_jobs_per_priority_per_cycle.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Import.Max_num_jobs_per_priority_per_cycle.t ‑> 'a) ‑> record_backtraces:(([< `Read | `Set_and_create ], t, bool) Fieldslib.Field.t_with_perm ‑> t ‑> bool ‑> 'a) ‑> on_start_of_cycle:(([< `Read | `Set_and_create ], t, unit ‑> unit) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) ‑> 'a) ‑> on_end_of_cycle:(([< `Read | `Set_and_create ], t, unit ‑> unit) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) ‑> 'a) ‑> 'a list`
`val map : t ‑> check_access:(([< `Read | `Set_and_create ], t, (unit ‑> unit) option) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) option ‑> (unit ‑> unit) option) ‑> job_pool:(([< `Read | `Set_and_create ], t, Async_kernel__.Job_pool.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Job_pool.t ‑> Async_kernel__.Job_pool.t) ‑> normal_priority_jobs:(([< `Read | `Set_and_create ], t, Async_kernel__.Job_queue.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Job_queue.t ‑> Async_kernel__.Job_queue.t) ‑> low_priority_jobs:(([< `Read | `Set_and_create ], t, Async_kernel__.Job_queue.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Job_queue.t ‑> Async_kernel__.Job_queue.t) ‑> very_low_priority_workers:(([< `Read | `Set_and_create ], t, Very_low_priority_worker.t Core_kernel.Deque.t) Fieldslib.Field.t_with_perm ‑> t ‑> Very_low_priority_worker.t Core_kernel.Deque.t ‑> Very_low_priority_worker.t Core_kernel.Deque.t) ‑> main_execution_context:(([< `Read | `Set_and_create ], t, Async_kernel.Execution_context.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel.Execution_context.t ‑> Async_kernel.Execution_context.t) ‑> current_execution_context:(([< `Read | `Set_and_create ], t, Async_kernel.Execution_context.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel.Execution_context.t ‑> Async_kernel.Execution_context.t) ‑> uncaught_exn:(([< `Read | `Set_and_create ], t, (Core_kernel.Exn.t * Core_kernel.Sexp.t) option) Fieldslib.Field.t_with_perm ‑> t ‑> (Core_kernel.Exn.t * Core_kernel.Sexp.t) option ‑> (Core_kernel.Exn.t * Core_kernel.Sexp.t) option) ‑> cycle_count:(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ‑> t ‑> int ‑> int) ‑> cycle_start:(([< `Read | `Set_and_create ], t, Async_kernel__.Import.Time_ns.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Import.Time_ns.t ‑> Async_kernel__.Import.Time_ns.t) ‑> run_every_cycle_start:(([< `Read | `Set_and_create ], t, (unit ‑> unit) list) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) list ‑> (unit ‑> unit) list) ‑> last_cycle_time:(([< `Read | `Set_and_create ], t, Async_kernel__.Import.Time_ns.Span.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Import.Time_ns.Span.t ‑> Async_kernel__.Import.Time_ns.Span.t) ‑> last_cycle_num_jobs:(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ‑> t ‑> int ‑> int) ‑> time_source:(([< `Read | `Set_and_create ], t, Core_kernel.read_write Synchronous_time_source.T1.t) Fieldslib.Field.t_with_perm ‑> t ‑> Core_kernel.read_write Synchronous_time_source.T1.t ‑> Core_kernel.read_write Synchronous_time_source.T1.t) ‑> external_jobs:(([< `Read | `Set_and_create ], t, Async_kernel__.External_job.t Core_kernel.Thread_safe_queue.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.External_job.t Core_kernel.Thread_safe_queue.t ‑> Async_kernel__.External_job.t Core_kernel.Thread_safe_queue.t) ‑> thread_safe_external_job_hook:(([< `Read | `Set_and_create ], t, unit ‑> unit) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) ‑> unit ‑> unit) ‑> job_queued_hook:(([< `Read | `Set_and_create ], t, (Async_kernel.Priority.t ‑> unit) option) Fieldslib.Field.t_with_perm ‑> t ‑> (Async_kernel.Priority.t ‑> unit) option ‑> (Async_kernel.Priority.t ‑> unit) option) ‑> event_added_hook:(([< `Read | `Set_and_create ], t, (Async_kernel__.Import.Time_ns.t ‑> unit) option) Fieldslib.Field.t_with_perm ‑> t ‑> (Async_kernel__.Import.Time_ns.t ‑> unit) option ‑> (Async_kernel__.Import.Time_ns.t ‑> unit) option) ‑> yield:(([< `Read | `Set_and_create ], t, (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque) Fieldslib.Field.t_with_perm ‑> t ‑> (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque ‑> (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque) ‑> yield_until_no_jobs_remain:(([< `Read | `Set_and_create ], t, (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque) Fieldslib.Field.t_with_perm ‑> t ‑> (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque ‑> (unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque) ‑> check_invariants:(([< `Read | `Set_and_create ], t, bool) Fieldslib.Field.t_with_perm ‑> t ‑> bool ‑> bool) ‑> max_num_jobs_per_priority_per_cycle:(([< `Read | `Set_and_create ], t, Async_kernel__.Import.Max_num_jobs_per_priority_per_cycle.t) Fieldslib.Field.t_with_perm ‑> t ‑> Async_kernel__.Import.Max_num_jobs_per_priority_per_cycle.t ‑> Async_kernel__.Import.Max_num_jobs_per_priority_per_cycle.t) ‑> record_backtraces:(([< `Read | `Set_and_create ], t, bool) Fieldslib.Field.t_with_perm ‑> t ‑> bool ‑> bool) ‑> on_start_of_cycle:(([< `Read | `Set_and_create ], t, unit ‑> unit) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) ‑> unit ‑> unit) ‑> on_end_of_cycle:(([< `Read | `Set_and_create ], t, unit ‑> unit) Fieldslib.Field.t_with_perm ‑> t ‑> (unit ‑> unit) ‑> unit ‑> unit) ‑> t`
`val set_all_mutable_fields : t ‑> check_access:(unit ‑> unit) option ‑> job_pool:Async_kernel__.Job_pool.t ‑> main_execution_context:Async_kernel.Execution_context.t ‑> current_execution_context:Async_kernel.Execution_context.t ‑> uncaught_exn:(Core_kernel.Exn.t * Core_kernel.Sexp.t) option ‑> cycle_count:int ‑> cycle_start:Async_kernel__.Import.Time_ns.t ‑> run_every_cycle_start:(unit ‑> unit) list ‑> last_cycle_time:Async_kernel__.Import.Time_ns.Span.t ‑> last_cycle_num_jobs:int ‑> time_source:Core_kernel.read_write Synchronous_time_source.T1.t ‑> thread_safe_external_job_hook:(unit ‑> unit) ‑> job_queued_hook:(Async_kernel.Priority.t ‑> unit) option ‑> event_added_hook:(Async_kernel__.Import.Time_ns.t ‑> unit) option ‑> yield:(unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque ‑> yield_until_no_jobs_remain:(unit, Core_kernel.read_write) Async_kernel__.Types.Bvar.t Core_kernel.sexp_opaque ‑> check_invariants:bool ‑> max_num_jobs_per_priority_per_cycle:Async_kernel__.Import.Max_num_jobs_per_priority_per_cycle.t ‑> record_backtraces:bool ‑> on_start_of_cycle:(unit ‑> unit) ‑> on_end_of_cycle:(unit ‑> unit) ‑> unit`