std::counting_semaphore<LeastMaxValue>:: ~counting_semaphore
From cppreference.net
<
cpp
|
thread
|
counting semaphore
C++
Concurrency support library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::counting_semaphore
| Member functions | ||||
|
counting_semaphore::~counting_semaphore
|
||||
| Operations | ||||
| Constants | ||||
|
~counting_semaphore
(
)
;
|
(C++20부터) | |
counting_semaphore
객체를 파괴합니다.
참고 사항
소멸자를 호출하는 것은 모든 스레드가 통지를 받은 경우에만 안전합니다. 프로그래머는 소멸자가 시작된 후 어떤 스레드도 * this 에 대해 대기하려고 시도하지 않도록 보장해야 합니다. 소멸자는 대기 중인 어떤 스레드도 통지하거나 해제하지 않습니다.