Lugdunum
0.1.0
include
lug
System
Memory
Policies
Thread.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
lug/System/Export.hpp
>
4
5
namespace
lug
{
6
namespace
System {
7
namespace
Memory {
8
namespace
Policies {
9
10
class
SingleThreadPolicy
{
11
public
:
12
void
enter
()
const
;
13
void
leave
()
const
;
14
};
15
16
template
<
class
SynchronizationPrimitive>
17
class
MultiThreadPolicy
{
18
public
:
19
void
enter
();
20
void
leave
();
21
22
private
:
23
SynchronizationPrimitive
_primitive
;
24
};
25
26
#include <
lug/System/Memory/Policies/Thread.inl
>
27
28
}
// Policies
29
}
// Memory
30
}
// System
31
}
// lug
Thread.inl
lug::System::Memory::Policies::MultiThreadPolicy
Definition:
Thread.hpp:17
Export.hpp
lug::System::Memory::Policies::SingleThreadPolicy::leave
void leave() const
Definition:
Thread.inl:2
lug::System::Memory::Policies::MultiThreadPolicy::_primitive
SynchronizationPrimitive _primitive
Definition:
Thread.hpp:23
lug
Definition:
Application.hpp:11
lug::System::Memory::Policies::SingleThreadPolicy
Definition:
Thread.hpp:10
lug::System::Memory::Policies::SingleThreadPolicy::enter
void enter() const
Definition:
Thread.inl:1
Generated by
1.8.13