Esempio n. 1
0
bool
ExistsAnyThread()
{
  all_threads_mutex.Lock();
  bool result = !all_threads.IsEmpty();
  all_threads_mutex.Unlock();
  return result;
}
Esempio n. 2
0
 /**
  * Whether traces store is empty
  *
  * @return True if no traces stored
  */
 bool empty() const {
     return chronological_list.IsEmpty();
 }