std::counting_semaphore<LeastMaxValue>::~counting_semaphore
提供: cppreference.com
< cpp | thread | counting semaphore
~counting_semaphore(); | (C++20以上) | |
counting_semaphore
オブジェクトを破棄します。
このセマフォに対して任意のスレッドが何らかの他のメンバ関数を並行的に呼んでいる場合、動作は未定義です。 これには acquire()、 try_acquire_for()、または try_acquire_until() でブロック中のスレッドも含みます。