Classes

  • namespace mt
    • 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.
    • 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.
    • class thread_pool a generic thread pool that continuously waits for jobs from the job queue and processes them