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