Template:cpp/thread/dsc scoped lock