Fix single integrated-timer queue

This commit is contained in:
Dániel Buga 2024-12-07 13:30:20 +01:00
parent b93553b40a
commit febd4b22b2
No known key found for this signature in database

View File

@ -263,7 +263,7 @@ impl TimerQueueDriver {
}
fn handle_alarm(&self, _ctx: *const ()) {
#[cfg(integrated_timers)]
#[cfg(all(integrated_timers, not(single_queue)))]
{
let executor = unsafe { &*_ctx.cast::<crate::executor::InnerExecutor>() };
executor.timer_queue.dispatch();