Template:cpp/thread/barrier/dsc arrive and wait