Treelite
Classes
thread_pool.h File Reference

a simple thread pool implementation More...

#include <memory>
#include <vector>
#include <cstdlib>
#include <sched.h>
#include "spsc_queue.h"
Include dependency graph for thread_pool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ThreadPool< InputToken, OutputToken, TaskContext >
 

Detailed Description

a simple thread pool implementation

Copyright (c) 2018-2020 by Contributors

Author
Hyunsu Cho

Definition in file thread_pool.h.