Skip to content

thread_pool ~thread_pool

Alexy Pellegrini edited this page May 9, 2021 · 1 revision

nes::thread_pool::~thread_pool

Functions

(1) ~thread_pool();
  1. Destruct the thread pool. This function waits for all work submitted to the thread pool to end, as-if nes::thread_pool::wait_idle has been called, so you must ensure that all work is able to end before the thread pool is destroyed.

Parameters

None.

Exceptions

  1. Does not throw.
Clone this wiki locally