TDME2 1.9.121
SpinLock.cpp
Go to the documentation of this file.
2
3#include <atomic>
4
5#include <tdme/tdme.h>
6
8
9using std::atomic_flag;
10
11SpinLock::SpinLock(const string& name) {
12 this->name = name;
13}
14
16}
Spin Lock implementation.
Definition: SpinLock.h:16
~SpinLock()
Destroys the spin lock.
Definition: SpinLock.cpp:15