ke: export Mutex

This commit is contained in:
Loïc Grégoire
2026-06-20 12:08:59 -04:00
parent f647c47597
commit 9e212277b5
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ const ps = r.ps;
const amd64 = @import("arch");
const turnstile = ke.private.turnstile;
var mtx: ke.private.mutex.Mutex = .init();
var mtx: ke.Mutex = .init();
var shared_counter: usize = 0;
var work_item: ex.WorkItem = undefined;
+1
View File
@@ -19,6 +19,7 @@ pub const ExportedCpuLocal = p.cpu.ExportedCpuLocal;
pub const CpuMask = p.cpu.CpuMask;
pub const Event = p.event.Event;
pub const Queue = p.queue.Queue;
pub const Mutex = p.mutex.Mutex;
// === Exported Interfaces ===
pub const panic = p.panic.panic;