FACT++  1.0
template<class T, class List = std::list<T>>
bool Queue< T, List >::move ( List &  x,
typename List::iterator  i 
)
inline

Definition at line 284 of file Queue.h.

Referenced by Queue< pair< Time, GUI_STAT > >::move(), and Queue< pair< Time, GUI_STAT > >::post().

286  {
287  const std::lock_guard<std::mutex> lock(fMutex);
288  if (fState==kIdle)
289  return false;
290 
291  fList.splice(fList.end(), x, i);
292  fSize++;
293 
294  fCond.notify_one();
295 
296  return true;
297  }
List fList
Definition: Queue.h:32
state_t fState
Definition: Queue.h:48
int i
Definition: db_dim_client.c:21
std::condition_variable fCond
Definition: Queue.h:35
std::mutex fMutex
Definition: Queue.h:34
size_t fSize
Definition: Queue.h:30

+ Here is the caller graph for this function: