mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-03-04 14:38:12 +00:00
Common: Polish Fiber class, add comments, asserts and more tests.
This commit is contained in:
@@ -12,6 +12,7 @@ class SpinLock {
|
||||
public:
|
||||
void lock();
|
||||
void unlock();
|
||||
bool try_lock();
|
||||
|
||||
private:
|
||||
std::atomic_flag lck = ATOMIC_FLAG_INIT;
|
||||
|
||||
Reference in New Issue
Block a user