package async_kernel
Module Async_kernel_scheduler.PrivateSource
Internal to Async -- see Async_unix.Scheduler for the public API.
include Core.Invariant.S with type t := t
Source
val create_job :
t ->
Execution_context.t ->
('a -> unit) ->
'a ->
(Async_kernel__.Types.Execution_context.t, Obj.t -> unit, Obj.t)
Tuple_pool.Slots.t3
Tuple_pool.Pointer.tSource
val enqueue_job :
t ->
(Async_kernel__.Types.Execution_context.t, Obj.t -> unit, Obj.t)
Tuple_pool.Slots.t3
Tuple_pool.Pointer.t ->
free_job:bool ->
unitSource
val free_job :
t ->
(Async_kernel__.Types.Execution_context.t, Obj.t -> unit, Obj.t)
Tuple_pool.Slots.t3
Tuple_pool.Pointer.t ->
unitSource
val map_cycle_times :
t ->
f:(Core.Core_private.Time_ns_alternate_sexp.Span.t -> 'a) ->
'a Tail.Stream.tSource
val long_cycles :
t ->
at_least:Core.Core_private.Time_ns_alternate_sexp.Span.t ->
Core.Core_private.Time_ns_alternate_sexp.Span.t Tail.Stream.ttype 'a with_options := ?monitor:Monitor.t -> ?priority:Priority.t -> 'aSource
val preserve_execution_context' :
('a -> 'b Deferred.t) ->
('a -> 'b Deferred.t) Core.Staged.t