taco-db  0.1.0
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
Definition: datum.h:28
LatchMode
Definition: Latch.h:11