HIPO  4.3.0
High Performance Output data format for experimental physics
threadpool.hpp File Reference

Thread pool implementation for managing asynchronous task execution. More...

#include <fmt/format.h>
#include <atomic>
#include <chrono>
#include <condition_variable>
#include <functional>
#include <future>
#include <memory>
#include <mutex>
#include <queue>
#include <string>
#include <string_view>
#include <thread>
#include <type_traits>
#include <vector>

Go to the source code of this file.

Classes

class  ThreadPool
 A ThreadPool implementation for managing asynchronous task execution. More...
 
struct  ThreadPool::Statistics
 Runtime statistics for thread pool performance monitoring. More...
 

Detailed Description

Thread pool implementation for managing asynchronous task execution.

Provides a ThreadPool class for distributing work across multiple worker threads, with support for task submission, graceful shutdown, and runtime statistics tracking.

Definition in file threadpool.hpp.