FACT++  1.0
template<class T, class List = std::list<T>>
bool Queue< T, List >::enablePromptExecution ( )
inline

Definition at line 204 of file Queue.h.

205  {
206  const std::lock_guard<std::mutex> lock(fMutex);
207  if (fState!=kIdle || fSize>0)
208  return false;
209 
210  fState = kPrompt;
211  return true;
212  }
state_t fState
Definition: Queue.h:48
std::mutex fMutex
Definition: Queue.h:34
size_t fSize
Definition: Queue.h:30