std::notify_all_at_thread_exit (3) Linux Manual Page
std::notify_all_at_thread_exit – std::notify_all_at_thread_exit Synopsis Defined in header<condition_variable> void notify_all_at_thread_exit(std::condition_variable &cond, (since C++ 11) std::unique_lock<std::mutex> lk); notify_all_at_thread_exit provides a mechanism to notify other threads that a given thread has completely finished, including destroying all thread_local objects. It operates as follows: * Ownership of the previously acquired lock lk is transferred to internal storage. * The execution…
