176 for (
auto it =
future_list.get_it(); it.has_curr(); it.next())
177 if (it.get_curr().wait_for(std::chrono::seconds(0)) != std::future_status::ready)
197 for (
auto it =
future_list.get_it(); it.has_curr(); it.next())
198 if (it.get_curr().wait_for(std::chrono::seconds(0)) == std::future_status::ready)
Doubly-linked list (defined in tpl_dynList.H).
T & append(const T &item)
size_t blossom_maximum_cardinality_matching(const GT &g, DynDlist< typename GT::Arc * > &matching, SA sa=SA())
Alias of compute_maximum_cardinality_general_matching().
Main namespace for Aleph-w library functions.
size_t count_ready(DynList< std::future< T > > &future_list)
Count how many futures are ready.
DynList< T > get_futures(DynList< std::future< T > > &future_list)
Collect results from a list of futures.
bool all_ready(DynList< std::future< T > > &future_list)
Check if all futures in a list are ready.
Itor::difference_type count(const Itor &beg, const Itor &end, const T &value)
Count elements equal to a value.
Alias for htlist.H (DynList implementation).