|
using | TaskFunc = void(*)(SpscQueue< InputToken > *, SpscQueue< OutputToken > *, const TaskContext *) |
|
|
| ThreadPool (int num_worker, const TaskContext *context, TaskFunc task) |
|
void | SubmitTask (int tid, InputToken request) |
|
bool | WaitForTask (int tid, OutputToken *response) |
|
template<typename InputToken, typename OutputToken, typename TaskContext>
class treelite::predictor::ThreadPool< InputToken, OutputToken, TaskContext >
Definition at line 25 of file thread_pool.h.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/treelite/checkouts/1.1.0/src/predictor/thread_pool/thread_pool.h