Template:cpp/thread/dsc notify all at thread exit