"Mutex" for critical writing