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 WorkerPool¶
Subclassed by Umap::EvictManager, Umap::EvictWorkers, Umap::FillWorkers, Umap::Uffd
Public Functions
-
inline WorkerPool(const std::string &pool_name, uint64_t num_threads)¶
-
inline virtual ~WorkerPool()¶
-
inline bool wq_is_empty(void)¶
-
inline void start_thread_pool()¶
-
inline void stop_thread_pool()¶
-
inline void wait_for_idle(void)¶
Protected Functions
-
virtual void ThreadEntry() = 0¶
-
inline WorkerPool(const std::string &pool_name, uint64_t num_threads)¶