General Utility Library for C++14  2.11
Concurrency Utilities

The General Utility Library provides some utilities to make dealing with concurrency (threads, locks, and so on) easier.

Classes

ThreadPool: A thread pool and task queue that allows executing tasks on a fixed number of worker threads.

Trigger: A class that allows sending triggers and waiting for them across different threads, like an electric trigger line.

Functions

sleep(): Wait for a given amount of time and be woken up from a different thread.