|
Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
|
ThreadPool class declaration. More...
#include "RType/Error.hpp"#include <concepts>#include <condition_variable>#include <expected>#include <functional>#include <memory>#include <future>#include <mutex>#include <queue>#include <thread>#include <vector>#include "ThreadPool.tpp"Go to the source code of this file.
Classes | |
| class | rtp::thread::ThreadPool |
| ThreadPool class for managing a pool of threads. More... | |
Namespaces | |
| namespace | rtp |
| namespace | rtp::thread |
ThreadPool class declaration.
This file contains the declaration of the ThreadPool class. The class allows tasks to be enqueued and executed concurrently by a pool of worker threads. It is designed to be thread-safe by leveraging mutexes and condition variables for task management and synchronization.
Definition in file ThreadPool.hpp.