mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 22:05:47 +00:00
Common: Polish Fiber class, add comments, asserts and more tests.
This commit is contained in:
parent
279ff1c0ff
commit
a1e7931d20
5 changed files with 147 additions and 25 deletions
|
@ -12,6 +12,7 @@ class SpinLock {
|
|||
public:
|
||||
void lock();
|
||||
void unlock();
|
||||
bool try_lock();
|
||||
|
||||
private:
|
||||
std::atomic_flag lck = ATOMIC_FLAG_INIT;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue