Async_print
Non-blocking, Async-friendly print functions
Async_sys
This module overrides everything in the Sys module that might block.
Busy_pollers
A set of busy-poll functions.
Epoll_file_descr_watcher
Returns the underlying epoll value.
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
Interruptor
An interruptor provides a file descriptor that can be used to cause a file-descr-watcher to detect the file descriptor is ready for reading.
In_thread
The In_thread module has functions for interaction between the Async world and other (kernel) threads.
Io_stats
Process
Async.Process is for creating child processes of the current process, and communicating with children via their stdin, stdout, and stderr.
Raw_fd
Raw_scheduler
Raw_signal_manager
Reader0
Reader
Reader is Async's main API for 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_pool
A thread pool is a set of OCaml threads used to do work, where each piece of work is simply a thunk.
Thread_safe
The Thread_safe module has functions that are safe to call from threads outside async.
Thread_safe_pipe
A thread-safe pipe is a thread-safe interface to the write end of a normal Async.Pipe.
Unix_syscalls
Unix_syscalls provides an interface to many of the functions in OCaml's standard Unix module.
Writer0
default is true
Writer
Writer is Async's main API for output to a file descriptor.