void cancelAll() { assert(*_closed); for (typename std::vector< Future<T> >::iterator it = this->_futures.begin(); it != this->_futures.end(); ++it) it->cancel(); }
void cancelAll() { QI_ASSERT(_closed.load()); for (typename std::vector< Future<T> >::iterator it = this->_futures.begin(); it != this->_futures.end(); ++it) it->cancel(); }