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

Definition at line 247 of file Queue.h.

248  {
249  const std::lock_guard<std::mutex> lock(fMutex);
250  if (fState!=kRun)
251  return false;
252 
253  fState = kTrigger;
254  fCond.notify_one();
255 
256  return true;
257  }
state_t fState
Definition: Queue.h:48
std::condition_variable fCond
Definition: Queue.h:35
std::mutex fMutex
Definition: Queue.h:34