πŸ”’ Mutual Exclusion Visualizer

Why concurrent access to shared data needs protection β€” with C code

πŸ’₯ RACE CONDITION
βœ… CORRECT RESULT

πŸ–₯️ Thread A

πŸ’» Thread B

Step 0/0
← Prev β†’Space Next R Reset 123 Modes Β· Click diagram to advance

πŸ“– Current Step

Press β–Ά or β†’ to begin.

πŸ“Š State

EntityValueActionStatus

πŸ“ Event Log

πŸ”‘ Legend

Thread A
Thread B
Shared Var
Lock