ke: add lock warden

This commit is contained in:
Loïc Grégoire
2026-10-04 11:10:35 -04:00
parent dd2161179d
commit b802919fc2
23 changed files with 496 additions and 49 deletions
+1 -1
View File
@@ -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");
}
}