|
Foundation
|
Asynchronous programming primitives. More...
Classes | |
| class | ThreadPool |
| Atomic, lock-free Thread Pool implementation with fixed bounds. More... | |
| struct | ThreadPoolJob |
| Job interface for use with ThreadPool. More... | |
| class | ThreadPoolLambdaJob |
| State-carrying lambda job for use with ThreadPool. More... | |
Typedefs | |
| template<typename T = void> | |
| using | Promise = std::promise< T > |
| template<typename T = void> | |
| using | Future = std::future< T > |
| template<typename T = void> | |
| using | SharedPromise = Core::SharedPtr< std::promise< T > > |
| using | Condition = std::condition_variable |
| using | Mutex = std::mutex |
| using | Thread = std::jthread |
| Alias of std::jthread. | |
| using | JobQueue = MPMCQueue< UniquePtr< ThreadPoolJob > > |
| Backing job queue type for ThreadPool. | |
Asynchronous programming primitives.
| using Foundation::Async::Condition = typedef std::condition_variable |
Backing job queue type for ThreadPool.
| using Foundation::Async::Mutex = typedef std::mutex |
| using Foundation::Async::SharedPromise = typedef Core::SharedPtr<std::promise<T> > |
| using Foundation::Async::Thread = typedef std::jthread |
Alias of std::jthread.