OSTEP Ch. 28 homework: lock implementations in an interleaving simulator
Step through interleavings of flag-based, test-and-set, Peterson and ticket locks to see exactly why each one works or fails.
Not attemptedOSTEP homeworkAccess: freeExtra, for review rotation
The exercise happens on OSTEP homework. Canonical link: https://github.com/remzi-arpacidusseau/ostep-homework/tree/master/threads-locks. Link check: not checked (5 Oct 2026). Opened from this app 0 times; opening is not counted as an attempt.
Check note: Not requested: the site's robots.txt disallows automated access to this path.
Supports: Builds the instruction-level intuition behind mutual exclusion and fairness arguments.
Record an attempt
Attempt history
No attempts recorded yet.