In this recipe, we only used a few methods provided by the condition variable object. Besides the simple wait function, there are functions for waiting for a specific time or waiting until a specified time point is reached. Learn more about the C++ condition variable class at its https://en.cppreference.com/w/cpp/thread/condition_variable reference page.