updated structs

master
emekoi 2018-11-18 00:27:47 -06:00
parent b61bce254c
commit 99f44219bc
1 changed files with 1 additions and 1 deletions

View File

@ -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 };
}
};