Class WorkerPool¶
Defined in File WorkerPool.hpp
Inheritance Relationships¶
Derived Types¶
public Umap::EvictManager
(Class EvictManager)public Umap::EvictWorkers
(Class EvictWorkers)public Umap::FillWorkers
(Class FillWorkers)public Umap::Uffd
(Class Uffd)
Class Documentation¶
-
class
Umap
::
WorkerPool
¶ Subclassed by Umap::EvictManager, Umap::EvictWorkers, Umap::FillWorkers, Umap::Uffd
Public Functions
-
WorkerPool
(const std::string &pool_name, uint64_t num_threads)¶
-
~WorkerPool
()¶
-
bool
wq_is_empty
(void)¶
-
void
start_thread_pool
()¶
-
void
stop_thread_pool
()¶
-
void
wait_for_idle
(void)¶
Protected Functions
-
void
ThreadEntry
() = 0¶
-