sansio-executor
Tokio-based local executor for the sansio ecosystem.
Features
- Tokio LocalSet: Built on tokio's LocalSet for single-threaded task execution
- CPU Pinning: Pin executor threads to specific CPU cores
- Thread Naming: Name executor threads for debugging
- Task Management: Spawn, detach, and cancel tasks
Quick Start
[]
= "0.0.7"
use LocalExecutorBuilder;
Spawning Tasks
use ;
Detaching Tasks
use ;
Documentation
For detailed documentation, see:
License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.