Async_gc
add_finalizer f x is like Gc.finalise f x, except that the finalizer is guaranteed to run as an Async job (i.e.
Async_print
Non-blocking, Async-friendly print functions
Async_sys
This module overrides everything in the Sys module that might block.
Epoll_file_descr_watcher
Fd
An Fd.t is a wrapper around a Unix file descriptor, with additional information about the kind of file descriptor and logic to ensure that we don't use a file descriptor that has been closed, or close a file descriptor that is in use.
Fd_by_descr
Fd_by_descr is a table of the open Fd.ts, indexed by file descriptor number.
File_descr_watcher_intf
File_descr_watcher_intf.S provides an API for for watching a set of file descriptors to see if they are ready for reading or writing.
Import
Inline_tests
Interruptor
thread_safe_interrupt t causes read_fd t to become ready for reading.
In_thread
The In_thread module has functions for interaction between the Async world and other (kernel) threads.
Io_stats
Raw_fd
Raw_scheduler
Raw_signal_manager
Reader
A reader lets one do buffered input from a file descriptor.
Read_write
Read_write is like Dirpair, except "buy/sell" has been changed to "read/write".
Scheduler
Threading model:
Select_file_descr_watcher
Shutdown
shutdown ?force status initiates shutdown, which runs all the at_shutdown functions, waits for them to finish, and then exits with the supplied status.
Signal
We override values from Core.Signal that we don't want people to use with Async.
Signal_manager
A signal manager keeps track of a set of signals to be managed and the signal handlers for them.
Std
Syscall
Thread_safe
The Thread_safe module has functions that are safe to call from threads outside async.
Unix_syscalls
Unix_syscalls provides an interface to many of the functions in OCaml's standard Unix module.
Work_group
Writer
Writer provides an interface to writing strings that batches together writes into a single underlying write system call.