mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-27 13:58:20 +00:00
ke: don't signal log event if high IPL
This commit is contained in:
+3
-1
@@ -80,7 +80,9 @@ pub fn log(
|
||||
ringbuffer.publish(res);
|
||||
|
||||
// Signal whomever is waiting on logs to get published.
|
||||
event.signal();
|
||||
if (@intFromEnum(ke.ipl.current()) <= @intFromEnum(ke.Ipl.Dispatch)) {
|
||||
event.signal();
|
||||
}
|
||||
|
||||
var writer = DebugWriter.init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user