MCPcopy Create free account
hub / github.com/aui-framework/aui / waitForAll

Method waitForAll

aui.core/src/AUI/Thread/AThreadPool.h:196–201  ·  view source on GitHub ↗

* @brief Wait for the result of every AFuture. * @deprecated use onAllComplete instead. */

Source from the content-addressed store, hash-verified

194 * @deprecated use onAllComplete instead.
195 */
196 void waitForAll() {
197 // wait from the end to avoid idling (see AFuture::wait for details)
198 for (const AFuture<T>& v : aui::reverse_iterator_wrap(*this)) {
199 v.operator*();
200 }
201 }
202
203 /**
204 * @brief Find AFutures that encountered an exception. If such AFuture is found, AInvocationTargetException is

Callers 1

TESTFunction · 0.45

Calls 2

operator*Method · 0.45

Tested by 1

TESTFunction · 0.36