I have a while loop which is constantly locking & unlocking a mutex
while(true) { mtx.lock(); mess_with_global_data(); thread