1
0
Fork 0
forked from wry/wry

runtime: replace epoll by io-uring

This commit is contained in:
Julian Orth 2022-05-12 22:50:33 +02:00
parent 98cc85e2d3
commit 9416efeabe
21 changed files with 173 additions and 742 deletions

View file

@ -1,6 +1,6 @@
use {
crate::{
async_engine::{AsyncEngine, AsyncError, SpawnedFuture},
async_engine::{AsyncEngine, SpawnedFuture},
io_uring::IoUring,
time::{Time, TimeError},
utils::{
@ -28,8 +28,6 @@ pub enum WheelError {
CreateFailed(#[source] OsError),
#[error("Could not set the timerfd")]
SetFailed(#[source] OsError),
#[error("An async error occurred")]
AsyncError(#[from] AsyncError),
#[error("Cannot determine the time")]
TimeError(#[from] TimeError),
#[error("The timer wheel is already destroyed")]