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

API reference / Core

IoOperation enum

The operation an IoRequest describes.

On this page
Use
#include <ThinkMeta.ConcurrentTasks/Core.h>
Namespace
ThinkMeta::ConcurrentTasks::AsyncIo
Platforms
Linux

Syntax

enum class IoOperation : std::uint8_t

Values

Read

pread: length bytes from the file at offset into buffer.

Syntax

Read

Write

pwrite: length bytes from buffer to the file at offset.

Syntax

Write

Recv

recv into buffer, at most length bytes, with the MSG_* flags.

Syntax

Recv

Send

send of length bytes from buffer, with the MSG_* flags.

Syntax

Send

RecvMsg

recvmsg: buffer is the msghdr, flags the MSG_* flags.

Syntax

RecvMsg

SendMsg

sendmsg: buffer is the msghdr, flags the MSG_* flags.

Syntax

SendMsg

Accept

accept4: buffer receives the peer's address (or is nullptr), offset is the address of the socklen_t with its size, flags the SOCK_* flags of the new socket. The result is the new socket.

Syntax

Accept

Connect

connect to the address in buffer, which is length bytes long.

Syntax

Connect

Generated from ThinkMeta.ConcurrentTasks.API @ da816bc (2026-11-06).