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