std::counting_semaphore<LeastMaxValue>::~counting_semaphore
De cppreference.com
< cpp | thread | counting semaphore
~counting_semaphore(); |
(desde C++20) | |
Destruye el objeto counting_semaphore
.
El comportamiento no está definido si algún hilo llama simultáneamente a cualquier otra función miembro en este semáforo. Esto incluye hilos bloqueados en acquire(), try_acquire_for(), o try_acquire_until().