In the C++ bag of tricks: scoped locks | Dark Hacker News