In my codebase I have two functions which looks something like this:
void inside() { lock_guard lock(LOCK); cout << "Finished insi