#include <WaitingThreadPool.h>
Public Member Functions | |
WaitingThreadPool & | operator= (WaitingThreadPool const &)=delete |
WaitingThreadPool & | operator= (WaitingThreadPool &&)=delete |
template<typename F , typename G > | |
void | runAsync (WaitingTaskWithArenaHolder holder, F &&func, G &&errorContextFunc) |
WaitingThreadPool ()=default | |
WaitingThreadPool (WaitingThreadPool const &)=delete | |
WaitingThreadPool (WaitingThreadPool &&)=delete | |
Private Attributes | |
edm::ReusableObjectHolder< impl::WaitingThread > | pool_ |
Definition at line 82 of file WaitingThreadPool.h.
|
default |
|
delete |
|
delete |
|
delete |
|
delete |
|
inline |
holder | WaitingTaskWithArenaHolder object to signal the completion of 'func' |
func | Function to run in a separate thread |
errorContextFunc | Function returning a string-like object that is added to the context of cms::Exception in case 'func' throws an exception |
Definition at line 99 of file WaitingThreadPool.h.
References EcalMonitorTask_cff::func, and eostools::move().
Referenced by edm::Async::runAsync().
|
private |
Definition at line 105 of file WaitingThreadPool.h.