#include <mutex> #include <thread> #include <condition_variable> #include <iostream> using namespace std; int num = 0; mutex mtx; condition_variable cv1; void printA() { while(1) &nbs...