mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-27 13:58:20 +00:00
ke: export Mutex
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user