Lugdunum
0.1.0
include
lug
System
Memory
Policies
Thread.inl
Go to the documentation of this file.
1
inline
void
SingleThreadPolicy::enter()
const
{}
2
inline
void
SingleThreadPolicy::leave()
const
{}
3
4
template
<
class
SynchronizationPrimitive>
5
inline
void
MultiThreadPolicy<SynchronizationPrimitive>::enter
() {
6
_primitive.lock();
7
}
8
9
template
<
class
SynchronizationPrimitive>
10
inline
void
MultiThreadPolicy<SynchronizationPrimitive>::leave
() {
11
_primitive.unlock();
12
}
lug::System::Memory::Policies::MultiThreadPolicy
Definition:
Thread.hpp:17
Generated by
1.8.13