taco-db
0.1.0
utils
Latch.h
Go to the documentation of this file.
1
#ifndef UTILS_LATCH_H
2
#define UTILS_LATCH_H
3
4
#include "
tdb.h
"
5
6
#include <thread>
7
#include <mutex>
8
9
namespace
taco
{
10
11
enum class
LatchMode
{
12
SH
,
// shared latch
13
EX
,
// exclusive latch
14
};
15
16
}
// namespace taco
17
18
#endif
// UTILS_LATCH_H
taco
Definition:
datum.h:28
taco::LatchMode
LatchMode
Definition:
Latch.h:11
taco::LatchMode::EX
@ EX
taco::LatchMode::SH
@ SH
tdb.h
Generated by
1.9.1