- ๐ Hi, Iโm @ubiquitousbyte a.k.a Nas
- ๐ Iโm interested in writing software in Go, Rust and C/C++ on Unix derivatives.
ubiquitousbyte / two-lock-algorithm Goto Github PK
View Code? Open in Web Editor NEWThis is a trivial locking algorithm that succeeds when thread execution is interleaved, but fails when one thread runs directly after the other. This is a fundamental property of the Peterson Locking algorithm