include module type of sig ... end
val sexp_of_t : t ‑> Sexplib.Sexp.t
val t : unit ‑> t
val go : ?raise_unhandled_exn:bool ‑> unit ‑> Core.never_returns
val go_main : ?raise_unhandled_exn:bool ‑> ?file_descr_watcher:Config.File_descr_watcher.t ‑> ?max_num_open_file_descrs:int ‑> ?max_num_threads:int ‑> main:(unit ‑> unit) ‑> unit ‑> Core.never_returns
val current_execution_context : unit ‑> Import.Execution_context.t
val within_context : Import.Execution_context.t ‑> (unit ‑> 'a) ‑> ('a, unit) Core.Result.t
val within' : ((unit ‑> 'a Import.Deferred.t) ‑> 'a Import.Deferred.t) with_options
val within : ((unit ‑> unit) ‑> unit) with_options
val within_v : ((unit ‑> 'a) ‑> 'a option) with_options
val with_local : 'a Core.Univ_map.Key.t ‑> 'a option ‑> f:(unit ‑> 'b) ‑> 'b
val find_local : 'a Core.Univ_map.Key.t ‑> 'a option
val schedule' : ((unit ‑> 'a Import.Deferred.t) ‑> 'a Import.Deferred.t) with_options
val schedule : ((unit ‑> unit) ‑> unit) with_options
val preserve_execution_context : ('a ‑> unit) ‑> ('a ‑> unit) Core.Staged.t
val preserve_execution_context' : ('a ‑> 'b Import.Deferred.t) ‑> ('a ‑> 'b Import.Deferred.t) Core.Staged.t
val cycle_start : unit ‑> Core.Time.t
val cycle_start_ns : unit ‑> Core.Time_ns.t
val cycle_times : unit ‑> Core.Time.Span.t Import.Stream.t
val cycle_times_ns : unit ‑> Core.Time_ns.Span.t Import.Stream.t
val report_long_cycle_times : ?cutoff:Core.Time.Span.t ‑> unit ‑> unit
val event_precision : unit ‑> Core.Time.Span.t
val event_precision_ns : unit ‑> Core.Time_ns.Span.t
val set_max_inter_cycle_timeout : Core.Time.Span.t ‑> unit
type 'b folder
= 'b Async_unix__Scheduler.folder
=
{
folder : a. 'b ‑> t ‑> (t, 'a) Core.Field.t ‑> 'b; |
}
val fold_fields : init:'b ‑> 'b folder ‑> 'b
val add_busy_poller : (unit ‑> [ `Continue_polling | `Stop_polling of 'a ]) ‑> 'a Import.Deferred.t
val handle_thread_pool_stuck : (stuck_for:Core.Time_ns.Span.t ‑> unit) ‑> unit
val default_handle_thread_pool_stuck : stuck_for:Core.Time_ns.Span.t ‑> unit
val yield : unit ‑> unit Import.Deferred.t
val yield_until_no_jobs_remain : unit ‑> unit Import.Deferred.t
val yield_every : n:int ‑> (unit ‑> unit Import.Deferred.t) Core.Staged.t
val time_spent_waiting_for_io : unit ‑> Core.Time_ns.Span.t
val set_min_inter_cycle_timeout : Core.Time_ns.Span.t ‑> unit
module Expert = Async_unix__Scheduler.Expert
val cycle_start : unit ‑> Core.Time.t