void release( std::ptrdiff_t update = 1 );
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.
update >= 0 and
update <= max() - counter are
counter is the value of the internal counter.
|update||-||the amount to increment the internal counter by|
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.