9 ms·> the solution is to protect the resource with a mutex. Then you have deadlocks.by mchahn 8y ago> the solution is to protect the resource with a mutex. Then you have deadlocks.