diff options
Diffstat (limited to 'src/process.zig')
-rw-r--r-- | src/process.zig | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/process.zig b/src/process.zig index e9daa07..1b1486b 100644 --- a/src/process.zig +++ b/src/process.zig @@ -127,11 +127,6 @@ pub const Info = struct { } } - pub fn allowResume(self: *Info) void { - self.pc += 4; // Skip ecall instruction - self.state = .waiting; - } - pub fn shouldTerminate(self: *const Info, candidate: *const Info) bool { return candidate.id == self.id and self.shouldTerminateThread(candidate); } |