Expand description
Luminal Runtime Core Implementation
This module provides the core components of the Luminal async runtime, designed as a DLL-boundary safe alternative to tokio with similar performance characteristics and API compatibility.
§Key Components
Runtime: Main runtime for executing async tasksHandle: Lightweight handle to a RuntimeJoinHandle: Handle for awaiting the completion of async tasksExecutor: Core task execution engineTask: Individual async task representation
§Module Structure
The runtime is organized into several submodules:
error: Error types specific to task executionexecutor: Core execution engine implementationhandle: Runtime handle implementationjoin_handle: Join handle implementationruntime: Main runtime implementationtask: Task representationworker: Worker thread implementationwaker: Custom waker implementation
Structs§
- Executor
- Core task execution engine for the Luminal runtime
- Handle
- A lightweight handle to a Runtime
- Join
Handle - Handle for awaiting the completion of an asynchronous task
- Runtime
- Main runtime for executing async tasks
- TaskId
- A unique identifier for tasks within the runtime
Enums§
- Task
Error - Errors that can occur when working with tasks in the runtime