![]() |
![]()
| ![]() |
![]()
NAMEstd::counting_semaphore::try_acquire - std::counting_semaphore::try_acquire Synopsisbool try_acquire() noexcept; (since C++20)
Return valuetrue if it decremented the internal counter, otherwise false Notes Implementations are allowed to fail to decrement the counter even
if it was greater
|