mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-27 13:58:20 +00:00
ke: add lock warden
This commit is contained in:
@@ -377,7 +377,7 @@ fn propagate(curtd: *ke.Thread) void {
|
||||
pub fn init_turnstiles() void {
|
||||
for (&chains) |*chain| {
|
||||
chain.list.init();
|
||||
chain.lock = .init();
|
||||
chain.lock = ke.SpinLock.init("turnstile_chain");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user