Module Async_unix.Async_configSource

include module type of struct include Async_kernel.Async_kernel_config end
Sourcetype t = Async_kernel.Async_kernel_config.t = {
  1. abort_after_thread_pool_stuck_for : Core_kernel.Time_ns.Span.t option;
  2. check_invariants : bool option;
  3. detect_invalid_access_from_thread : bool option;
  4. dump_core_on_job_delay : Dump_core_on_job_delay.t option;
  5. epoll_max_ready_events : Epoll_max_ready_events.t option;
  6. file_descr_watcher : File_descr_watcher.t option;
  7. max_inter_cycle_timeout : Max_inter_cycle_timeout.t option;
  8. max_num_open_file_descrs : Max_num_open_file_descrs.t option;
  9. max_num_threads : Max_num_threads.t option;
  10. max_num_jobs_per_priority_per_cycle : Max_num_jobs_per_priority_per_cycle.t option;
  11. min_inter_cycle_timeout : Min_inter_cycle_timeout.t option;
  12. print_debug_messages_for : Debug_tag.t list option;
  13. record_backtraces : bool option;
  14. report_thread_pool_stuck_for : Core_kernel.Time_ns.Span.t option;
  15. thread_pool_cpu_affinity : Thread_pool_cpu_affinity.t option;
  16. timing_wheel_config : Timing_wheel.Config.t option;
}
Sourceval sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
Sourceval t : t
Sourceval environment_variable : string
Sourceval abort_after_thread_pool_stuck_for : Core_kernel.Time_ns.Span.t

Documentation on these is in strings in config.ml, so it can be output in the help message.

Sourceval check_invariants : bool
Sourceval detect_invalid_access_from_thread : bool
Sourceval dump_core_on_job_delay : Dump_core_on_job_delay.t
Sourceval thread_pool_cpu_affinity : Thread_pool_cpu_affinity.t
Sourceval epoll_max_ready_events : Epoll_max_ready_events.t
Sourceval file_descr_watcher : File_descr_watcher.t
Sourceval max_inter_cycle_timeout : Max_inter_cycle_timeout.t
Sourceval max_num_jobs_per_priority_per_cycle : Max_num_jobs_per_priority_per_cycle.t
Sourceval max_num_open_file_descrs : Max_num_open_file_descrs.t
Sourceval max_num_threads : Max_num_threads.t
Sourceval min_inter_cycle_timeout : Min_inter_cycle_timeout.t
Sourceval record_backtraces : bool
Sourceval report_thread_pool_stuck_for : Core_kernel.Time_ns.Span.t
Sourceval timing_wheel_config : Timing_wheel.Config.t
Sourceval default_timing_wheel_config_for_word_size : Core_kernel.Word_size.t -> Timing_wheel.Config.t
Sourceval task_id : (unit -> Core_kernel.Sexp.t) Core_kernel.ref

!task_id is used in debug messages. It is is set in Async_unix to include the thread and pid.