Simple mutexes with lambdasSafely work with locked data by using lambdas to wrap some piece of codeC++ C++11 Lambda Concurrency