IoRequest struct
One asynchronous operation, described by the caller and carried out by the core.
- Use
#include <ThinkMeta.ConcurrentTasks/Core.h>- Namespace
ThinkMeta::ConcurrentTasks::AsyncIo- Platforms
- Linux
Syntax
struct IoRequestRemarks
Usually the base of the caller's own request object, which the routine casts back to. The request, its buffer and whatever offset points to belong to the operation from SubmitIo until the routine has been called.
Fields
routine
buffer
offset
The file offset of Read and Write; see IoOperation for the others; else 0.
Syntax
std::uint64_t offset;fd
The file or socket.
Syntax
std::int32_t fd;length
The number of bytes, or the size of what buffer points to.
Syntax
std::uint32_t length;flags
operation
reserved8
Belongs to the core; 0 before the request is submitted.
Syntax
std::uint8_t reserved8[3];reserved
Belongs to the core; 0 before the request is submitted.
Syntax
std::uint64_t reserved[2];Generated from ThinkMeta.ConcurrentTasks.API @ da816bc (2026-11-06).