val
fold :
t -> init:'a -> mutex:('a -> ([<
|
`Read
|
`Set_and_create
],
t,
Core.Std.Nano_mutex.t)
Fieldslib.Field.t_with_perm ->
t ->
Core.Std.Nano_mutex.t -> 'b) -> is_running:('b -> ([<
|
`Read
|
`Set_and_create
],
t, bool)
Fieldslib.Field.t_with_perm ->
t -> bool -> 'c) -> have_called_go:('c -> ([<
|
`Read
|
`Set_and_create
],
t, bool)
Fieldslib.Field.t_with_perm ->
t -> bool -> 'd) -> fds_whose_watching_has_changed:('d -> ([<
|
`Read
|
`Set_and_create
],
t,
Fd.t list)
Fieldslib.Field.t_with_perm ->
t ->
Fd.t list -> 'e) -> file_descr_watcher:('e -> ([<
|
`Read
|
`Set_and_create
],
t,
File_descr_watcher.t)
Fieldslib.Field.t_with_perm ->
t ->
File_descr_watcher.t -> 'f) -> time_spent_waiting_for_io:('f -> ([<
|
`Read
|
`Set_and_create
],
t,
Tsc.Span.t)
Fieldslib.Field.t_with_perm ->
t ->
Tsc.Span.t -> 'g) -> fd_by_descr:('g -> ([<
|
`Read
|
`Set_and_create
],
t,
Fd_by_descr.t)
Fieldslib.Field.t_with_perm ->
t ->
Fd_by_descr.t -> 'h) -> timerfd:('h -> ([<
|
`Read
|
`Set_and_create
],
t,
Core.Std.Linux_ext.Timerfd.t option)
Fieldslib.Field.t_with_perm ->
t ->
Core.Std.Linux_ext.Timerfd.t option -> 'i) -> scheduler_thread_id:('i -> ([<
|
`Read
|
`Set_and_create
],
t, int)
Fieldslib.Field.t_with_perm ->
t -> int -> 'j) -> interruptor:('j -> ([<
|
`Read
|
`Set_and_create
],
t,
Interruptor.t)
Fieldslib.Field.t_with_perm ->
t ->
Interruptor.t -> 'k) -> signal_manager:('k -> ([<
|
`Read
|
`Set_and_create
],
t,
Raw_signal_manager.t)
Fieldslib.Field.t_with_perm ->
t ->
Raw_signal_manager.t -> 'l) -> thread_pool:('l -> ([<
|
`Read
|
`Set_and_create
],
t,
Thread_pool.t)
Fieldslib.Field.t_with_perm ->
t ->
Thread_pool.t -> 'm) -> handle_thread_pool_stuck:('m -> ([<
|
`Read
|
`Set_and_create
],
t, stuck_for:
Core.Std.Time_ns.Span.t -> unit)
Fieldslib.Field.t_with_perm ->
t -> (stuck_for:
Core.Std.Time_ns.Span.t -> unit) -> 'n) -> busy_pollers:('n -> ([<
|
`Read
|
`Set_and_create
],
t,
Busy_pollers.t)
Fieldslib.Field.t_with_perm ->
t ->
Busy_pollers.t -> 'o) -> busy_poll_thread_is_running:('o -> ([<
|
`Read
|
`Set_and_create
],
t, bool)
Fieldslib.Field.t_with_perm ->
t -> bool -> 'p) -> next_tsc_calibration:('p -> ([<
|
`Read
|
`Set_and_create
],
t,
Core.Std.Time_stamp_counter.t)
Fieldslib.Field.t_with_perm ->
t ->
Core.Std.Time_stamp_counter.t -> 'q) -> kernel_scheduler:('q -> ([<
|
`Read
|
`Set_and_create
],
t,
Import.Kernel_scheduler.t)
Fieldslib.Field.t_with_perm ->
t ->
Import.Kernel_scheduler.t -> 'r) -> max_inter_cycle_timeout:('r -> ([<
|
`Read
|
`Set_and_create
],
t,
Import.Max_inter_cycle_timeout.t)
Fieldslib.Field.t_with_perm ->
t ->
Import.Max_inter_cycle_timeout.t -> 's) -> min_inter_cycle_timeout:('s -> ([<
|
`Read
|
`Set_and_create
],
t,
Import.Min_inter_cycle_timeout.t)
Fieldslib.Field.t_with_perm ->
t ->
Import.Min_inter_cycle_timeout.t -> 't) -> 't