mt namespace

Classes

template<typename T>
class circular_buffer
A generic circular buffer implementation. Similar to the job queue, it can be used to implement the consumer-producer pattern, but this implementation is cache-friendlier since we use a contiguous array as our data store.
template<typename T>
class job_queue
A generic job queue structure that implements the classical consumer-producer pattern. It's thread-safe and can be used to transfer any type.
template<typename JOB, typename FUNC>
class thread_pool
a generic thread pool that continuously waits for jobs from the job queue and processes them