Up

Module Direct

Signature

val iter : t -> mutex:(([<
| `Read
| `Set_and_create
], t, Core.Std.Nano_mutex.t) Fieldslib.Field.t_with_perm -> t -> Core.Std.Nano_mutex.t -> unit) -> is_running:(([<
| `Read
| `Set_and_create
], t, bool) Fieldslib.Field.t_with_perm -> t -> bool -> unit) -> have_called_go:(([<
| `Read
| `Set_and_create
], t, bool) Fieldslib.Field.t_with_perm -> t -> bool -> unit) -> fds_whose_watching_has_changed:(([<
| `Read
| `Set_and_create
], t, Fd.t list) Fieldslib.Field.t_with_perm -> t -> Fd.t list -> unit) -> file_descr_watcher:(([<
| `Read
| `Set_and_create
], t, File_descr_watcher.t) Fieldslib.Field.t_with_perm -> t -> File_descr_watcher.t -> unit) -> time_spent_waiting_for_io:(([<
| `Read
| `Set_and_create
], t, Tsc.Span.t) Fieldslib.Field.t_with_perm -> t -> Tsc.Span.t -> unit) -> fd_by_descr:(([<
| `Read
| `Set_and_create
], t, Fd_by_descr.t) Fieldslib.Field.t_with_perm -> t -> Fd_by_descr.t -> unit) -> timerfd:(([<
| `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 -> unit) -> scheduler_thread_id:(([<
| `Read
| `Set_and_create
], t, int) Fieldslib.Field.t_with_perm -> t -> int -> unit) -> interruptor:(([<
| `Read
| `Set_and_create
], t, Interruptor.t) Fieldslib.Field.t_with_perm -> t -> Interruptor.t -> unit) -> signal_manager:(([<
| `Read
| `Set_and_create
], t, Raw_signal_manager.t) Fieldslib.Field.t_with_perm -> t -> Raw_signal_manager.t -> unit) -> thread_pool:(([<
| `Read
| `Set_and_create
], t, Thread_pool.t) Fieldslib.Field.t_with_perm -> t -> Thread_pool.t -> unit) -> handle_thread_pool_stuck:(([<
| `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) -> unit) -> busy_pollers:(([<
| `Read
| `Set_and_create
], t, Busy_pollers.t) Fieldslib.Field.t_with_perm -> t -> Busy_pollers.t -> unit) -> busy_poll_thread_is_running:(([<
| `Read
| `Set_and_create
], t, bool) Fieldslib.Field.t_with_perm -> t -> bool -> unit) -> next_tsc_calibration:(([<
| `Read
| `Set_and_create
], t, Core.Std.Time_stamp_counter.t) Fieldslib.Field.t_with_perm -> t -> Core.Std.Time_stamp_counter.t -> unit) -> kernel_scheduler:(([<
| `Read
| `Set_and_create
], t, Import.Kernel_scheduler.t) Fieldslib.Field.t_with_perm -> t -> Import.Kernel_scheduler.t -> unit) -> max_inter_cycle_timeout:(([<
| `Read
| `Set_and_create
], t, Import.Max_inter_cycle_timeout.t) Fieldslib.Field.t_with_perm -> t -> Import.Max_inter_cycle_timeout.t -> unit) -> min_inter_cycle_timeout:(([<
| `Read
| `Set_and_create
], t, Import.Min_inter_cycle_timeout.t) Fieldslib.Field.t_with_perm -> t -> Import.Min_inter_cycle_timeout.t -> 'a) -> 'a
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
val set_all_mutable_fields : t -> is_running:bool -> have_called_go:bool -> fds_whose_watching_has_changed:Fd.t list -> time_spent_waiting_for_io:Tsc.Span.t -> timerfd:Core.Std.Linux_ext.Timerfd.t option -> scheduler_thread_id:int -> handle_thread_pool_stuck:(stuck_for:Core.Std.Time_ns.Span.t -> unit) -> busy_poll_thread_is_running:bool -> next_tsc_calibration:Core.Std.Time_stamp_counter.t -> max_inter_cycle_timeout:Import.Max_inter_cycle_timeout.t -> min_inter_cycle_timeout:Import.Min_inter_cycle_timeout.t -> unit