This commit is contained in:
Baptiste Wicht 2018-03-28 09:47:45 +02:00
parent cd5ccc2867
commit 11bd60b4f1

View File

@ -113,9 +113,9 @@ struct semaphore {
}
private:
mutable spinlock value_lock; ///< The spin lock protecting the counter
volatile size_t value; ///< The value of the counter
wait_list queue; ///< The sleep queue
spinlock value_lock; ///< The spin lock protecting the counter
volatile size_t value; ///< The value of the counter
wait_list queue; ///< The sleep queue
};
#endif