boost::capy
Namespaces
Name |
Description |
Provide awaitable accessors for the running coroutine's environment. |
Types
Name |
Description |
Await an awaitable on behalf of a segment owner. |
|
Forwards |
|
Dispatches |
|
Dispatches |
|
Dispatches |
|
Queues coroutines in |
|
Queues coroutines in |
|
Hand a wakeup from any thread to one waiting coroutine, latching it if none waits. |
|
Carries the executor, stop token, and frame allocator through a coroutine chain. |
|
Iterate over the bytes of a buffer sequence as one continuous run. |
|
Iterate over the bytes of a buffer sequence as one continuous run. |
|
Unwind a coroutine chain's segment when one of its coroutines is abandoned. |
|
Refer to a contiguous region of read‐only memory without owning it. |
|
Satisfies |
|
Give a promise frame allocation and environment propagation to I/O awaitables. |
|
Pair a coroutine handle with a scratch slot for allocation‐free queuing. |
|
Registers, looks up, and shuts down |
|
Forwards |
|
Allocate a promise's coroutine frames from the current frame allocator. |
|
Complete a |
|
Refer to a contiguous region of writable memory without owning it. |
|
Satisfies |
|
Recycles freed blocks through per‐thread pools, with a shared pool for cross‐thread reuse. |
|
Installs the frame allocator, then starts the task on the executor when called once. |
|
Provides serialized coroutine execution for any executor type. |
|
Defers a coroutine body until awaited, then runs it inline on the caller's thread. |
|
Distributes posted work across a fixed group of worker threads via a shared queue. |
|
Hold work on an executor so its execution context does not finish. |
Type Aliases
Name |
Description |
Names the result type of |
|
Names |
|
Bundles an error code with optional payload values, exposed via the tuple protocol. |
Functions
Name |
Description |
Give up a suspended coroutine for good. |
|
Copy the contents of a buffer sequence into another buffer sequence. |
|
|
|
|
|
Return the total byte count across all buffers in a sequence. |
|
|
|
Return the number of buffer elements in a sequence. |
|
Check if a buffer sequence contains no data. |
|
|
|
|
|
Return the current frame allocator for this thread. |
|
Return a pointer to the process‐wide recycling memory resource. |
|
Return a process‐wide thread pool, creating it on first use. |
|
|
|
Create an error_code from an error value. |
|
Create an error_condition from a cond value. |
|
Create a work guard from an executor. |
|
Return an iterator |
|
Subtraction operators |
|
Asynchronously read data from a stream until the buffer sequence is full. |
|
Asynchronously read at least a minimum number of bytes from a stream. |
|
|
|
|
|
|
|
Resume a coroutine handle with frame‐allocator TLS protection. |
|
Set the current frame allocator for this thread. |
|
Set the name of the calling thread. |
|
|
|
|
|
Asynchronously write an entire buffer sequence to a stream. |
|
Asynchronously write at least a minimum number of bytes to a stream. |
|
Test whether two iterators refer to the same byte. |
|
Order two iterators by byte position. |
Concepts
Name |
Description |
Requires a valid |
|
Requires a type to convert to |
|
Requires a type to be a |
|
Requires an awaitable whose |
|
Requires a sized input range whose value type satisfies |
|
Requires a |
|
Requires a type to expose a |
|
Requires a copyable type to dispatch or post continuations to its context. |
|
Requires a type to convert to both |
|
Requires a type to be a |
|
Requires |
|
Requires a type to satisfy both |
|
Requires |
|
Requires an awaitable's result to destructure into the given types. |
|
Requires a type to destructure via structured bindings into the given types. |
Created with MrDocs