Skip to content

thread_pool thread_count

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

nes::thread_pool::thread_count

Functions

(1) std::size_t thread_count() const noexcept;
  1. Returns the amout of worker threads in the thread pool.

Parameters

None.

Return value

  1. Returns the amout of worker threads in the thread pool. Will always be greater than 0.

Complexity

  1. Constant.

Exceptions

  1. Does not throw.
Clone this wiki locally