#include #include #include #include #include using namespace std; // In this version we run single-threaded mutex globalMutex; // mutex to control exeuction of method int unsync_counter = 0; void increase(int n) { for (int i=0; i(t2 - t1).count() << " microseconds" << endl; return 0; }