Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- do {
- std::lock_guard<std::mutex> input_lock(input_mutex);
- /* Do something that needs protecting by the mutex here */
- } while(false);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement