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

API reference

Windows

Thin wrappers of Windows objects used by the library: files, threads, sockets, virtual memory, errors.

NameDescription
Functions and constants functions Free functions and constants of Windows.
ConvenienceThread class Base class for a plain OS thread whose body is Run.
Error struct Names and predicates for Win32 error codes.
ErrorException class Carries a Win32 error out of code that has no error return.
File class Owns one Win32 file handle and closes it on destruction.
IoCompletionPort class Owns one I/O completion port handle and closes it on destruction.
IpSocketBase class An IPv4 or IPv6 socket with the IP options of that version.
IpTraits struct Per-version types and constants of the IP sockets.
IpVersion struct Tags selecting the IP version of the IP socket templates.
Socket class Owns one Winsock SOCKET and wraps the Winsock calls on it.
TcpSocketBase class An IPv4 or IPv6 TCP socket.
Thread class Owns a Win32 thread handle and closes it on destruction.
VirtualMemory class Owns one region allocated with VirtualAlloc.
WinsockError struct Named Winsock error codes and helpers that turn Winsock return values into error codes.
WinsockErrorException class Exception carrying a WinsockErrorCode.