Searched refs:try_clear_if (Results 1 – 2 of 2) sorted by relevance
165 bool try_clear_if(Pred&& pred) { in try_clear_if() function
375 …bool disable_mandatory = my_mandatory_concurrency.try_clear_if([this] { return !has_enqueued_tasks… in out_of_work()376 bool release_workers = my_pool_state.try_clear_if([this] { return !has_tasks(); }); in out_of_work()