3es
0.7
3esspinlock.h
1
//
2
// author: Kazys Stepanas
3
//
4
#ifndef _3ESSPINLOCK_H_
5
#define _3ESSPINLOCK_H_
6
7
#include "3es-core.h"
8
9
namespace
tes
10
{
11
struct
SpinLockImp;
12
19
class
_3es_coreAPI
SpinLock
20
{
21
public
:
23
SpinLock
();
25
~
SpinLock
();
26
28
void
lock();
29
32
bool
try_lock();
33
36
void
unlock();
37
38
private
:
39
SpinLockImp *_imp;
40
};
41
}
42
43
#endif // _3ESSPINLOCK_H_
tes
Definition:
3esbounds.h:13
tes::SpinLock
A spin lock implementation.
Definition:
3esspinlock.h:19
3es-core
3esspinlock.h
Generated by
1.8.13