4 ms·
C++11 has scoped locks built-in, doesn't it?
by ef47d35620c1 13y ago
C++11 has scoped locks built-in, doesn't it?
- steve-howard 13y agoIt offers a variety of them, simplest of which is lock_guard: http://en.cppreference.com/w/cpp/thread/lock_guard http://en.cppreference.com/w/cpp/thread/lock_guard