[−][src]Function linux_aio_tokio::aio_context
pub fn aio_context(
nr: usize,
use_semaphore: bool
) -> Result<(AioContext, AioContextHandle), AioContextError>
Create new AIO context suitable for cross-threaded environment (tokio rt-threaded),
backed by parking_lot Mutex. Automatically spawn background task, which polls
eventfd with tokio::spawn
.
See generic_aio_context
for more details