Skip to content

thread_pool wait_idle

Alexy Pellegrini edited this page Jul 18, 2022 · 4 revisions

nes::thread_pool::wait_idle

Functions

(1) void wait_idle();
  1. Blocks calling thread until all tasks submitted to the thread pool are done. This function may cause deadlocks if a fence needs to be signaled by the calling thread, or if one of the task can't end for any reason.

Return value

None.

Exceptions

May throw a std::system_error

Clone this wiki locally