updated structs
parent
b61bce254c
commit
99f44219bc
|
@ -122,7 +122,7 @@ const MutexSpinLock = struct {
|
|||
pub fn deinit(self: *Mutex) void {}
|
||||
|
||||
pub fn acquire(self: *Mutex) Held {
|
||||
_ = self.spin_lock.acquire();
|
||||
_ = self.lock.acquire();
|
||||
return Held { .mutex = self };
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue