#include <NoThreadPool.h>
Public Member Functions | |
void | Cancel () override |
int | CurrentThreadId () const override |
int | GetNumScheduleCalled () |
NoThreadPool () | |
int | NumThreads () const override |
void | Schedule (std::function< void()> fn) override |
void | ScheduleWithHint (std::function< void()> fn, int start, int end) override |
Static Public Member Functions | |
static NoThreadPool & | instance () |
Private Attributes | |
std::atomic< int > | numScheduleCalled_ |
Definition at line 20 of file NoThreadPool.h.
|
inlineexplicit |
Definition at line 27 of file NoThreadPool.h.
|
inlineoverride |
Definition at line 36 of file NoThreadPool.h.
|
inlineoverride |
Definition at line 40 of file NoThreadPool.h.
|
inline |
Definition at line 42 of file NoThreadPool.h.
References numScheduleCalled_.
|
inlinestatic |
Definition at line 22 of file NoThreadPool.h.
References CMS_THREAD_SAFE, and submitPVResolutionJobs::pool.
Referenced by tensorflow::run().
|
inlineoverride |
Definition at line 38 of file NoThreadPool.h.
|
inlineoverride |
Definition at line 29 of file NoThreadPool.h.
References personalPlayback::fn, and numScheduleCalled_.
Referenced by ScheduleWithHint().
|
inlineoverride |
Definition at line 34 of file NoThreadPool.h.
References personalPlayback::fn, and Schedule().
|
private |
Definition at line 45 of file NoThreadPool.h.
Referenced by GetNumScheduleCalled(), and Schedule().