|
|
virtual void | run (const std::function< void()> &func)=0 |
| |
|
virtual size_t | size () const =0 |
| |
| virtual size_t | numAvailable () const =0 |
| | The number of available (i.e. More...
|
| |
|
virtual bool | inThreadPool () const =0 |
| | Check if the current thread is from the thread pool.
|
| |
Definition at line 22 of file thread_pool.h.
| virtual size_t c10::TaskThreadPoolBase::numAvailable |
( |
| ) |
const |
|
pure virtual |
The number of available (i.e.
idle) threads in this thread pool.
Implemented in c10::ThreadPool.
The documentation for this class was generated from the following file: