mirror of
https://github.com/usatiuk/ficus.git
synced 2025-10-29 00:27:52 +01:00
huh
This commit is contained in:
@@ -24,7 +24,7 @@ public:
|
||||
|
||||
void spinlock() {
|
||||
assert2(!are_interrupts_enabled(), "Assuming all spinlocks are without interrupts");
|
||||
while (!try_lock()) { yield_self(); }
|
||||
while (!try_lock()) { yield_self(); }// FIXME: Should be pause!
|
||||
}
|
||||
|
||||
void unlock() {
|
||||
|
||||
Reference in New Issue
Block a user