Preliminary. ThinkMeta ConcurrentTasks and this documentation are preliminary; everything is subject to change.

API reference

Async I/O

Files and sockets whose operations suspend the calling task until they complete.

NameDescription
Functions and constants functions Free functions and constants of Async I/O.
AsyncFile class A file for overlapped I/O on the core's I/O completion port.
AsyncFileIoRequest class An overlapped file read or write.
AsyncIoRequest class A request that also stores the operation's error code.
AsyncIoRequestBase class One overlapped I/O operation.
AsyncIpSocket alias An IPv4/IPv6 socket for overlapped I/O from tasks.
AsyncSocket class A socket for overlapped I/O from tasks.
AsyncSocketIoRequest class The state of one overlapped socket operation.
AsyncSocketRecvIoRequest class A request for receive operations that also captures the result flags.
AsyncTcpSocket class A TCP socket for overlapped I/O from tasks.
BulkIoOptions struct The shape of the overlapped I/O of AsyncFile::ReadFile and AsyncFile::WriteFile.
OrderedFileWriter class An output file built front to back in memory, with the copying and writing done by other tasks.
OrderedFileWriterSettings struct How an OrderedFileWriter writes: granule, writes at once, copy queue sizes.
OrderedFileWriterStats struct Counters of a finished OrderedFileWriter.
StreamedFileReader class A file streamed into memory, addressed like a mapped file, with bounded memory use.
StreamedFileReaderSettings struct How a StreamedFileReader reads: granule, how far ahead, how many reads at once.
WaitableAsyncFileIoRequest class A file request whose completion a task can wait for.
WaitableAsyncSocketIoRequest class A socket request a task can wait on until the operation completes.