• OCaml logo OCaml logo
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Get started
  • async_kernel
  • Documentation
  • async_kernel lib
  • Async_kernel .Monitor Module
package async_kernel
  • async_kernel
    • Async_kernel
      • Async_kernel_config
        • Dump_core_on_job_delay
          • How_to_dump
        • Epoll_max_ready_events
        • File_descr_watcher
        • Max_inter_cycle_timeout
        • Max_num_jobs_per_priority_per_cycle
        • Max_num_open_file_descrs
        • Max_num_threads
        • Min_inter_cycle_timeout
        • Print_debug_messages_for
      • Async_kernel_require_explicit_time_source
        • Clock_ns
          • Event
            • Status
        • Scheduler
          • Deferred
            • Choice
            • Handler
            • Infix
            • Let_syntax
              • Let_syntax
            • M
              • Let_syntax
                • Let_syntax
                  • Open_on_rhs
              • Monad_infix
            • Monad_sequence
            • Scheduler
              • Bvar
              • Fields
                • Direct
              • Ivar
              • Synchronous_time_source
                • Alarm
                • Event
                  • Abort_result
                • Read_write
                • T1
                  • Event
                    • Fields
                      • Direct
                    • Status
                  • Fields
                    • Direct
                  • Job_or_event
                    • Match
                • Time_ns
                  • Alternate_sexp
                  • Ofday
                    • Hash_queue
                      • Key
                    • Hash_set
                      • Provide_bin_io
                        • 1-X
                      • Provide_of_sexp
                        • 1-X
                    • Map
                      • Key
                      • Provide_bin_io
                        • 1-Key
                      • Provide_hash
                        • 1-Key
                      • Provide_of_sexp
                        • 1-Key
                      • Tree
                        • Provide_of_sexp
                          • 1-K
                    • Replace_polymorphic_compare
                    • Set
                      • Elt
                      • Named
                      • Provide_bin_io
                        • 1-Elt
                      • Provide_hash
                        • 1-Elt
                      • Provide_of_sexp
                        • 1-Elt
                      • Tree
                        • Named
                        • Provide_of_sexp
                          • 1-Elt
                    • Table
                      • Provide_bin_io
                        • 1-Key
                      • Provide_of_sexp
                        • 1-Key
                  • Span
                    • Alternate_sexp
                    • Hash_queue
                      • Key
                    • Hash_set
                      • Provide_bin_io
                        • 1-X
                      • Provide_of_sexp
                        • 1-X
                    • Map
                      • Key
                      • Provide_bin_io
                        • 1-Key
                      • Provide_hash
                        • 1-Key
                      • Provide_of_sexp
                        • 1-Key
                      • Tree
                        • Provide_of_sexp
                          • 1-K
                    • Parts
                    • Private
                    • Replace_polymorphic_compare
                    • Set
                      • Elt
                      • Named
                      • Provide_bin_io
                        • 1-Elt
                      • Provide_hash
                        • 1-Elt
                      • Provide_of_sexp
                        • 1-Elt
                      • Tree
                        • Named
                        • Provide_of_sexp
                          • 1-Elt
                    • Table
                      • Provide_bin_io
                        • 1-Key
                      • Provide_of_sexp
                        • 1-Key
                  • Stable
                    • Alternate_sexp
                      • V1
                    • Ofday
                      • V1
                    • Span
                      • V2
                  • Utc
              • Very_low_priority_worker
                • Exec_result
                • Fields
                  • Direct
            • Unregister
          • Very_low_priority_work
            • Worker_result
        • Time_ns
          • Alternate_sexp
          • Ofday
            • Hash_queue
              • Key
            • Hash_set
              • Provide_bin_io
                • 1-X
              • Provide_of_sexp
                • 1-X
            • Map
              • Key
              • Provide_bin_io
                • 1-Key
              • Provide_hash
                • 1-Key
              • Provide_of_sexp
                • 1-Key
              • Tree
                • Provide_of_sexp
                  • 1-K
            • Replace_polymorphic_compare
            • Set
              • Elt
              • Named
              • Provide_bin_io
                • 1-Elt
              • Provide_hash
                • 1-Elt
              • Provide_of_sexp
                • 1-Elt
              • Tree
                • Named
                • Provide_of_sexp
                  • 1-Elt
            • Table
              • Provide_bin_io
                • 1-Key
              • Provide_of_sexp
                • 1-Key
          • Span
            • Alternate_sexp
            • Hash_queue
              • Key
            • Hash_set
              • Provide_bin_io
                • 1-X
              • Provide_of_sexp
                • 1-X
            • Map
              • Key
              • Provide_bin_io
                • 1-Key
              • Provide_hash
                • 1-Key
              • Provide_of_sexp
                • 1-Key
              • Tree
                • Provide_of_sexp
                  • 1-K
            • Parts
            • Private
            • Replace_polymorphic_compare
            • Set
              • Elt
              • Named
              • Provide_bin_io
                • 1-Elt
              • Provide_hash
                • 1-Elt
              • Provide_of_sexp
                • 1-Elt
              • Tree
                • Named
                • Provide_of_sexp
                  • 1-Elt
            • Table
              • Provide_bin_io
                • 1-Key
              • Provide_of_sexp
                • 1-Key
          • Stable
            • Alternate_sexp
              • V1
            • Ofday
              • V1
            • Span
              • V2
          • Utc
      • Async_kernel_scheduler
        • Deferred
          • Choice
          • Handler
          • Infix
          • Let_syntax
            • Let_syntax
          • M
            • Let_syntax
              • Let_syntax
                • Open_on_rhs
            • Monad_infix
          • Monad_sequence
          • Scheduler
            • Bvar
            • Fields
              • Direct
            • Ivar
            • Synchronous_time_source
              • Alarm
              • Event
                • Abort_result
              • Read_write
              • T1
                • Event
                  • Fields
                    • Direct
                  • Status
                • Fields
                  • Direct
                • Job_or_event
                  • Match
              • Time_ns
                • Alternate_sexp
                • Ofday
                  • Hash_queue
                    • Key
                  • Hash_set
                    • Provide_bin_io
                      • 1-X
                    • Provide_of_sexp
                      • 1-X
                  • Map
                    • Key
                    • Provide_bin_io
                      • 1-Key
                    • Provide_hash
                      • 1-Key
                    • Provide_of_sexp
                      • 1-Key
                    • Tree
                      • Provide_of_sexp
                        • 1-K
                  • Replace_polymorphic_compare
                  • Set
                    • Elt
                    • Named
                    • Provide_bin_io
                      • 1-Elt
                    • Provide_hash
                      • 1-Elt
                    • Provide_of_sexp
                      • 1-Elt
                    • Tree
                      • Named
                      • Provide_of_sexp
                        • 1-Elt
                  • Table
                    • Provide_bin_io
                      • 1-Key
                    • Provide_of_sexp
                      • 1-Key
                • Span
                  • Alternate_sexp
                  • Hash_queue
                    • Key
                  • Hash_set
                    • Provide_bin_io
                      • 1-X
                    • Provide_of_sexp
                      • 1-X
                  • Map
                    • Key
                    • Provide_bin_io
                      • 1-Key
                    • Provide_hash
                      • 1-Key
                    • Provide_of_sexp
                      • 1-Key
                    • Tree
                      • Provide_of_sexp
                        • 1-K
                  • Parts
                  • Private
                  • Replace_polymorphic_compare
                  • Set
                    • Elt
                    • Named
                    • Provide_bin_io
                      • 1-Elt
                    • Provide_hash
                      • 1-Elt
                    • Provide_of_sexp
                      • 1-Elt
                    • Tree
                      • Named
                      • Provide_of_sexp
                        • 1-Elt
                  • Table
                    • Provide_bin_io
                      • 1-Key
                    • Provide_of_sexp
                      • 1-Key
                • Stable
                  • Alternate_sexp
                    • V1
                  • Ofday
                    • V1
                  • Span
                    • V2
                • Utc
            • Very_low_priority_worker
              • Exec_result
              • Fields
                • Direct
          • Unregister
        • Very_low_priority_work
          • Worker_result
      • Bvar
      • Clock_ns
        • Clock
          • Event
            • Status
          • Time
            • Span
        • Clock_deprecated
          • Event
            • Status
          • Time
            • Span
        • Event
          • Status
      • Condition
      • Deferred
        • Array
        • Choice
        • Infix
        • Let_syntax
          • Let_syntax
            • Open_on_rhs
        • List
        • Map
          • Deferred
            • Choice
            • Handler
            • Infix
            • Let_syntax
              • Let_syntax
            • M
              • Let_syntax
                • Let_syntax
                  • Open_on_rhs
              • Monad_infix
            • Monad_sequence
            • Scheduler
              • Bvar
              • Fields
                • Direct
              • Ivar
              • Synchronous_time_source
                • Alarm
                • Event
                  • Abort_result
                • Read_write
                • T1
                  • Event
                    • Fields
                      • Direct
                    • Status
                  • Fields
                    • Direct
                  • Job_or_event
                    • Match
                • Time_ns
                  • Alternate_sexp
                  • Ofday
                    • Hash_queue
                      • Key
                    • Hash_set
                      • Provide_bin_io
                        • 1-X
                      • Provide_of_sexp
                        • 1-X
                    • Map
                      • Key
                      • Provide_bin_io
                        • 1-Key
                      • Provide_hash
                        • 1-Key
                      • Provide_of_sexp
                        • 1-Key
                      • Tree
                        • Provide_of_sexp
                          • 1-K
                    • Replace_polymorphic_compare
                    • Set
                      • Elt
                      • Named
                      • Provide_bin_io
                        • 1-Elt
                      • Provide_hash
                        • 1-Elt
                      • Provide_of_sexp
                        • 1-Elt
                      • Tree
                        • Named
                        • Provide_of_sexp
                          • 1-Elt
                    • Table
                      • Provide_bin_io
                        • 1-Key
                      • Provide_of_sexp
                        • 1-Key
                  • Span
                    • Alternate_sexp
                    • Hash_queue
                      • Key
                    • Hash_set
                      • Provide_bin_io
                        • 1-X
                      • Provide_of_sexp
                        • 1-X
                    • Map
                      • Key
                      • Provide_bin_io
                        • 1-Key
                      • Provide_hash
                        • 1-Key
                      • Provide_of_sexp
                        • 1-Key
                      • Tree
                        • Provide_of_sexp
                          • 1-K
                    • Parts
                    • Private
                    • Replace_polymorphic_compare
                    • Set
                      • Elt
                      • Named
                      • Provide_bin_io
                        • 1-Elt
                      • Provide_hash
                        • 1-Elt
                      • Provide_of_sexp
                        • 1-Elt
                      • Tree
                        • Named
                        • Provide_of_sexp
                          • 1-Elt
                    • Table
                      • Provide_bin_io
                        • 1-Key
                      • Provide_of_sexp
                        • 1-Key
                  • Stable
                    • Alternate_sexp
                      • V1
                    • Ofday
                      • V1
                    • Span
                      • V2
                  • Utc
              • Very_low_priority_worker
                • Exec_result
                • Fields
                  • Direct
            • Unregister
        • Memo
          • Deferred
            • Choice
            • Handler
            • Infix
            • Let_syntax
              • Let_syntax
            • M
              • Let_syntax
                • Let_syntax
                  • Open_on_rhs
              • Monad_infix
            • Monad_sequence
            • Scheduler
              • Bvar
              • Fields
                • Direct
              • Ivar
              • Synchronous_time_source
                • Alarm
                • Event
                  • Abort_result
                • Read_write
                • T1
                  • Event
                    • Fields
                      • Direct
                    • Status
                  • Fields
                    • Direct
                  • Job_or_event
                    • Match
                • Time_ns
                  • Alternate_sexp
                  • Ofday
                    • Hash_queue
                      • Key
                    • Hash_set
                      • Provide_bin_io
                        • 1-X
                      • Provide_of_sexp
                        • 1-X
                    • Map
                      • Key
                      • Provide_bin_io
                        • 1-Key
                      • Provide_hash
                        • 1-Key
                      • Provide_of_sexp
                        • 1-Key
                      • Tree
                        • Provide_of_sexp
                          • 1-K
                    • Replace_polymorphic_compare
                    • Set
                      • Elt
                      • Named
                      • Provide_bin_io
                        • 1-Elt
                      • Provide_hash
                        • 1-Elt
                      • Provide_of_sexp
                        • 1-Elt
                      • Tree
                        • Named
                        • Provide_of_sexp
                          • 1-Elt
                    • Table
                      • Provide_bin_io
                        • 1-Key
                      • Provide_of_sexp
                        • 1-Key
                  • Span
                    • Alternate_sexp
                    • Hash_queue
                      • Key
                    • Hash_set
                      • Provide_bin_io
                        • 1-X
                      • Provide_of_sexp
                        • 1-X
                    • Map
                      • Key
                      • Provide_bin_io
                        • 1-Key
                      • Provide_hash
                        • 1-Key
                      • Provide_of_sexp
                        • 1-Key
                      • Tree
                        • Provide_of_sexp
                          • 1-K
                    • Parts
                    • Private
                    • Replace_polymorphic_compare
                    • Set
                      • Elt
                      • Named
                      • Provide_bin_io
                        • 1-Elt
                      • Provide_hash
                        • 1-Elt
                      • Provide_of_sexp
                        • 1-Elt
                      • Tree
                        • Named
                        • Provide_of_sexp
                          • 1-Elt
                    • Table
                      • Provide_bin_io
                        • 1-Key
                      • Provide_of_sexp
                        • 1-Key
                  • Stable
                    • Alternate_sexp
                      • V1
                    • Ofday
                      • V1
                    • Span
                      • V2
                  • Utc
              • Very_low_priority_worker
                • Exec_result
                • Fields
                  • Direct
            • Unregister
        • Monad_infix
        • Option
          • Let_syntax
            • Let_syntax
              • Open_on_rhs
          • Monad_infix
        • Or_error
          • Applicative_infix
          • Deferred
            • Choice
            • Handler
            • Infix
            • Let_syntax
              • Let_syntax
            • M
              • Let_syntax
                • Let_syntax
                  • Open_on_rhs
              • Monad_infix
            • Monad_sequence
            • Scheduler
              • Bvar
              • Fields
                • Direct
              • Ivar
              • Synchronous_time_source
                • Alarm
                • Event
                  • Abort_result
                • Read_write
                • T1
                  • Event
                    • Fields
                      • Direct
                    • Status
                  • Fields
                    • Direct
                  • Job_or_event
                    • Match
                • Time_ns
                  • Alternate_sexp
                  • Ofday
                    • Hash_queue
                      • Key
                    • Hash_set
                      • Provide_bin_io
                        • 1-X
                      • Provide_of_sexp
                        • 1-X
                    • Map
                      • Key
                      • Provide_bin_io
                        • 1-Key
                      • Provide_hash
                        • 1-Key
                      • Provide_of_sexp
                        • 1-Key
                      • Tree
                        • Provide_of_sexp
                          • 1-K
                    • Replace_polymorphic_compare
                    • Set
                      • Elt
                      • Named
                      • Provide_bin_io
                        • 1-Elt
                      • Provide_hash
                        • 1-Elt
                      • Provide_of_sexp
                        • 1-Elt
                      • Tree
                        • Named
                        • Provide_of_sexp
                          • 1-Elt
                    • Table
                      • Provide_bin_io
                        • 1-Key
                      • Provide_of_sexp
                        • 1-Key
                  • Span
                    • Alternate_sexp
                    • Hash_queue
                      • Key
                    • Hash_set
                      • Provide_bin_io
                        • 1-X
                      • Provide_of_sexp
                        • 1-X
                    • Map
                      • Key
                      • Provide_bin_io
                        • 1-Key
                      • Provide_hash
                        • 1-Key
                      • Provide_of_sexp
                        • 1-Key
                      • Tree
                        • Provide_of_sexp
                          • 1-K
                    • Parts
                    • Private
                    • Replace_polymorphic_compare
                    • Set
                      • Elt
                      • Named
                      • Provide_bin_io
                        • 1-Elt
                      • Provide_hash
                        • 1-Elt
                      • Provide_of_sexp
                        • 1-Elt
                      • Tree
                        • Named
                        • Provide_of_sexp
                          • 1-Elt
                    • Table
                      • Provide_bin_io
                        • 1-Key
                      • Provide_of_sexp
                        • 1-Key
                  • Stable
                    • Alternate_sexp
                      • V1
                    • Ofday
                      • V1
                    • Span
                      • V2
                  • Utc
              • Very_low_priority_worker
                • Exec_result
                • Fields
                  • Direct
            • Unregister
          • Let_syntax
            • Let_syntax
              • Open_on_rhs
          • List
          • Monad_infix
        • Queue
        • Result
          • Let_syntax
            • Let_syntax
              • Open_on_rhs
          • Monad_infix
        • Sequence
      • Execution_context
        • Fields
          • Direct
      • Gc
        • Alarm
        • Allocation_policy
        • Control
          • Fields
            • Direct
          • Map
            • Key
            • Provide_bin_io
              • 1-Key
            • Provide_hash
              • 1-Key
            • Provide_of_sexp
              • 1-Key
            • Tree
              • Provide_of_sexp
                • 1-K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • 1-Elt
            • Provide_hash
              • 1-Elt
            • Provide_of_sexp
              • 1-Elt
            • Tree
              • Named
              • Provide_of_sexp
                • 1-Elt
        • Stat
          • Fields
            • Direct
          • Map
            • Key
            • Provide_bin_io
              • 1-Key
            • Provide_hash
              • 1-Key
            • Provide_of_sexp
              • 1-Key
            • Tree
              • Provide_of_sexp
                • 1-K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • 1-Elt
            • Provide_hash
              • 1-Elt
            • Provide_of_sexp
              • 1-Elt
            • Tree
              • Named
              • Provide_of_sexp
                • 1-Elt
      • Invariant
        • Async
          • S
          • S1
          • S2
          • S3
        • S
        • S1
        • S2
        • S3
      • Ivar
      • Lazy_deferred
        • Let_syntax
          • Let_syntax
            • Open_on_rhs
        • Monad_infix
      • Let_syntax
        • Open_on_rhs
      • Monad_sequence
        • S
      • Monitor
        • Deferred
          • Choice
          • Handler
          • Infix
          • Let_syntax
            • Let_syntax
          • M
            • Let_syntax
              • Let_syntax
                • Open_on_rhs
            • Monad_infix
          • Monad_sequence
          • Scheduler
            • Bvar
            • Fields
              • Direct
            • Ivar
            • Synchronous_time_source
              • Alarm
              • Event
                • Abort_result
              • Read_write
              • T1
                • Event
                  • Fields
                    • Direct
                  • Status
                • Fields
                  • Direct
                • Job_or_event
                  • Match
              • Time_ns
                • Alternate_sexp
                • Ofday
                  • Hash_queue
                    • Key
                  • Hash_set
                    • Provide_bin_io
                      • 1-X
                    • Provide_of_sexp
                      • 1-X
                  • Map
                    • Key
                    • Provide_bin_io
                      • 1-Key
                    • Provide_hash
                      • 1-Key
                    • Provide_of_sexp
                      • 1-Key
                    • Tree
                      • Provide_of_sexp
                        • 1-K
                  • Replace_polymorphic_compare
                  • Set
                    • Elt
                    • Named
                    • Provide_bin_io
                      • 1-Elt
                    • Provide_hash
                      • 1-Elt
                    • Provide_of_sexp
                      • 1-Elt
                    • Tree
                      • Named
                      • Provide_of_sexp
                        • 1-Elt
                  • Table
                    • Provide_bin_io
                      • 1-Key
                    • Provide_of_sexp
                      • 1-Key
                • Span
                  • Alternate_sexp
                  • Hash_queue
                    • Key
                  • Hash_set
                    • Provide_bin_io
                      • 1-X
                    • Provide_of_sexp
                      • 1-X
                  • Map
                    • Key
                    • Provide_bin_io
                      • 1-Key
                    • Provide_hash
                      • 1-Key
                    • Provide_of_sexp
                      • 1-Key
                    • Tree
                      • Provide_of_sexp
                        • 1-K
                  • Parts
                  • Private
                  • Replace_polymorphic_compare
                  • Set
                    • Elt
                    • Named
                    • Provide_bin_io
                      • 1-Elt
                    • Provide_hash
                      • 1-Elt
                    • Provide_of_sexp
                      • 1-Elt
                    • Tree
                      • Named
                      • Provide_of_sexp
                        • 1-Elt
                  • Table
                    • Provide_bin_io
                      • 1-Key
                    • Provide_of_sexp
                      • 1-Key
                • Stable
                  • Alternate_sexp
                    • V1
                  • Ofday
                    • V1
                  • Span
                    • V2
                • Utc
            • Very_low_priority_worker
              • Exec_result
              • Fields
                • Direct
          • Unregister
        • Expert
        • Exported_for_scheduler
      • Mvar
        • Read_only
        • Read_write
      • Pipe
        • Consumer
        • Flushed
        • Flushed_result
        • Reader
        • Writer
      • Priority
      • Quickcheck
        • Configure
          • 1-Config
      • Stream
        • Deferred
          • Choice
          • Handler
          • Infix
          • Let_syntax
            • Let_syntax
          • M
            • Let_syntax
              • Let_syntax
                • Open_on_rhs
            • Monad_infix
          • Monad_sequence
          • Scheduler
            • Bvar
            • Fields
              • Direct
            • Ivar
            • Synchronous_time_source
              • Alarm
              • Event