Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
std::lock_guard is a threading class to own a std::mutex up until it goes out of scope.
See std::thread example 2: two counting threads using std::mutex for an example use of std::lock_guard.
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.