This figure shows how to prevent concurrent usage with the help of mutexes.