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