The wait operation on a condition variable takes a reference to a mutex as a parameter. Discuss the role of the mutex in this case, explaining why the parameters is necessary for the wait operation
Covid19 has caused the government to impose restrictions on patron numbers at restaurants: a restaurant can only have one patron per square meter of its indoor space at a time. For example, a restaurant with 10.6 m^2