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 alias 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.
Socket class Owns one Winsock SOCKET and wraps the Winsock calls on it.
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 alias Carries a WinsockErrorCode out of code that has no error return.