std::counting_semaphore<LeastMaxValue>::release

Atomically increments the internal counter by the value of update. Any thread(s) waiting for the counter to be greater than 0, such as due to being blocked in acquire, will subsequently be unblocked.

# Declarations

void release( std::ptrdiff_t update = 1 );

(since C++20)

# Parameters

# See also