GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::counting_semaphore::release(3) C++ Standard Libary std::counting_semaphore::release(3)

std::counting_semaphore::release - std::counting_semaphore::release


void release( std::ptrdiff_t update = 1 ); (since C++20)


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.


Both update >= 0 and update <= max() - counter are true, where counter is the value
of the internal counter.


update - the amount to increment the internal counter by


May throw std::system_error.

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.