According to cppref:
std::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.
The question is:
How to register a callback that will be called after a given thread has finished and destroyed all of its thread-local objects?
Aucun commentaire:
Enregistrer un commentaire