Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
std::chrono is a namespace for
time-related functions and classes.
std::chrono is available
in the
This example is from std::thread example 2: two counting threads using std::mutex. See std::thread example 2: two counting threads using std::mutex for further details.
#include <iostream> |
Screen output:
#2: 10 |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.