JobSystem class for managing multi-threaded task execution. More...
#include <optional>
#include <vector>
#include <thread>
#include <mutex>
#include <functional>
#include <queue>
#include <future>
#include <memory>
#include <raftel/global_macros.hpp>
Go to the source code of this file.
Classes | |
class | Raftel::JobSystem |
A multi-threaded job system for parallel task execution. More... | |
JobSystem class for managing multi-threaded task execution.
The JobSystem class provides a simple way to manage multi-threaded jobs. It creates a thread pool equal to the number of CPU cores available and allows users to enqueue tasks that will be executed asynchronously by worker threads.
Definition in file job_system.hpp.