Add DoubleWorker class.
This commit is contained in:
parent
8c2951db2d
commit
981e043ada
13 changed files with 195 additions and 17 deletions
|
@ -48,9 +48,11 @@ public:
|
|||
static void *calloc(size_t num, size_t size);
|
||||
static void release();
|
||||
|
||||
static inline bool isDoubleHash() { return m_doubleHash; }
|
||||
static inline bool isHugepagesAvailable() { return m_flags & HugepagesAvailable; }
|
||||
static inline bool isHugepagesEnabled() { return m_flags & HugepagesEnabled; }
|
||||
static inline int flags() { return m_flags; }
|
||||
static inline int threads() { return m_threads; }
|
||||
|
||||
private:
|
||||
static bool m_doubleHash;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue