std::counting_semaphore<LeastMaxValue>:: ~counting_semaphore
From cppreference.com
<
cpp
|
thread
|
counting semaphore
C++
Concurrency support library
|
|
std::counting_semaphore
Member functions | ||||
counting_semaphore::~counting_semaphore
|
||||
Operations | ||||
Constants | ||||
~counting_semaphore
(
)
;
|
(since C++20) | |
Destroys the
counting_semaphore
object.
The behavior is undefined if any thread is concurrently calling any other member function on this semaphore. This includes threads blocked in acquire() , try_acquire_for() , or try_acquire_until() .
Retrieved from "
https://en.cppreference.com/mwiki/index.php?title=cpp/thread/counting_semaphore/%7Ecounting_semaphore&oldid=161126
"