Mojo module
asyncrt
This module implements the low level concurrency library.
Structs
-
DeviceContextPtr
: Exposes a pointer to a C++ DeviceContext to Mojo. -
DeviceContextPtrList
: A fixed-size collection ofDeviceContextPtr
objects. -
Task
: Represents an asynchronous task that will produce a value of the specified type. -
TaskGroup
: A group of tasks that can be executed concurrently. -
TaskGroupContext
: Context structure for task group operations.
Functions
-
create_task
: Run the coroutine as a task on the AsyncRT Runtime. -
parallelism_level
: Gets the parallelism level of the Runtime. -
run
: Executes a coroutine and waits for its completion.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!