News for hackers. Stuff that matters.
Re:In the C++ bag of tricks: scoped locks by steve-howard on Friday February 07, 2014 @12:43PM (#7197555)
It offers a variety of them, simplest of which is lock_guard:

http://en.cppreference.com/w/cpp/thread/lock_guard

There are no comments on this comment yet.