std::counting_semaphore<LeastMaxValue>::~counting_semaphore
De cppreference.com
< cpp | thread | counting semaphore
C++
Biblioteca de apoyo de concurrencia
|
|
std::counting_semaphore
Funciones miembro | ||||
counting_semaphore::~counting_semaphore | ||||
Operaciones | ||||
Constantes | ||||
~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().