cpp/thread/counting semaphore/release

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

Preconditions
Both and  are, where  is the value of the internal counter.

Exceptions
May throw std.