Пример #1
0
bool
ExistsAnyThread()
{
  all_threads_mutex.lock();
  bool result = !all_threads.empty();
  all_threads_mutex.unlock();
  return result;
}
Пример #2
0
	~regex_lru_cache()
	{
		while (!re_list.empty()) {
			pop_lru();
		}
	}