Beispiel #1
0
bool
ExistsAnyThread()
{
  all_threads_mutex.lock();
  bool result = !all_threads.empty();
  all_threads_mutex.unlock();
  return result;
}
	~regex_lru_cache()
	{
		while (!re_list.empty()) {
			pop_lru();
		}
	}