Up
Module
Execution_context
=
Async_kernel.Execution_context
Signature
type
t =
Async_kernel.Types.Execution_context.t
= {
monitor
:
Async_kernel.Monitor0.t
;
priority
:
Async_kernel.Priority.t
;
local_storage
:
Core_kernel.Std.Univ_map.t
;
backtrace_history
:
Core_kernel.Std.Backtrace.t
list
;
}
val
sexp_of_t :
t
->
Sexplib.Sexp.t
val
backtrace_history :
t
->
Core_kernel.Std.Backtrace.t
list
val
local_storage :
t
->
Core_kernel.Std.Univ_map.t
val
priority :
t
->
Async_kernel.Priority.t
val
monitor :
t
->
Async_kernel.Monitor0.t
module
Fields
: sig .. end
include
Core_kernel.Std.Invariant.S
with
type
t
:=
t
type
t
val
invariant :
t
Invariant_intf.inv
val
main :
t
val
create_like : ?monitor:
Async_kernel.Monitor0.t
-> ?priority:
Async_kernel.Priority.t
-> ?local_storage:
Core_kernel.Std.Univ_map.t
->
t
->
t
val
find_local :
t
-> 'a
Core_kernel.Std.Univ_map.Key.t
-> 'a option
val
with_local :
t
-> 'a
Core_kernel.Std.Univ_map.Key.t
-> 'a option ->
t
val
record_backtrace :
t
->
t