.. ot-topic:: ecproposal.ec1.mt.exercise_mt_race_fixed :dependencies: ecproposal.ec1.mt.exercise_mt_race, ecproposal.ec1.mt.lock EX: Avoiding Race Condition =========================== Goals ----- Apply :doc:`mt_lock`, and fix :doc:`exercise_mt_race` multiple times, * Atomic integer access * Binary semaphore * Mutexes of different flavors Outcome ------- * One program for each fix * Timings