mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-10 13:04:53 -04:00
Cleanup
This commit is contained in:
parent
cd5ccc2867
commit
11bd60b4f1
@ -113,7 +113,7 @@ struct semaphore {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
mutable spinlock value_lock; ///< The spin lock protecting the counter
|
spinlock value_lock; ///< The spin lock protecting the counter
|
||||||
volatile size_t value; ///< The value of the counter
|
volatile size_t value; ///< The value of the counter
|
||||||
wait_list queue; ///< The sleep queue
|
wait_list queue; ///< The sleep queue
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user