|
Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
|
ThreadPool class implementation. More...
#include "RType/Assert.hpp"#include "RType/Logger.hpp"#include "RType/Thread/ThreadPool.hpp"#include <format>#include <exception>Go to the source code of this file.
Namespaces | |
| namespace | rtp |
| namespace | rtp::thread |
ThreadPool class implementation.
This file contains the implementation of the ThreadPool class. The ThreadPool class manages a pool of worker threads that can execute tasks asynchronously. Tasks can be enqueued to the pool, and the worker threads will process them concurrently. The class ensures thread-safe access to the task queue using mutexes and condition variables.
Definition in file ThreadPool.cpp.