mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-27 13:58:20 +00:00
ke/wait: make wait_any parameter const
This commit is contained in:
+1
-1
@@ -119,7 +119,7 @@ pub fn wait_one(object: *DispatchHeader, reason: []const u8, opts: Options) !usi
|
||||
/// If `waitblocks` is specified, then the wait will use those waitblocks
|
||||
/// for the operation. Note that if `timeout` is provided, then one additional
|
||||
/// waitblock must be allocated.
|
||||
pub fn wait_any(objects: []*DispatchHeader, reason: []const u8, opts: Options) !usize {
|
||||
pub fn wait_any(objects: []const *DispatchHeader, reason: []const u8, opts: Options) !usize {
|
||||
const ipl = ke.ipl.raise(.Dispatch);
|
||||
defer ke.ipl.lower(ipl);
|
||||
const curtd = kep.sched.percpu.local().current_thread.?;
|
||||
|
||||
Reference in New Issue
Block a user