ke/timer: make DPC parameter explicit

This commit is contained in:
Loïc Grégoire
2026-08-01 22:43:32 -04:00
parent 00d69c4a18
commit 02d2fb5144
9 changed files with 28 additions and 12 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ fn work_dpc(dpc: *ke.Dpc, _: ?*anyopaque) void {
/// Enqueue a work item in `time`.
pub fn enqueue_in(item: *DelayedWorkItem, time: r.Nanoseconds) void {
ke.timer.set(&item.timer, time, &item.dpc);
ke.timer.set(&item.timer, time, .{ .dpc = &item.dpc });
}
/// Enqueue a work item to be executed eventually.