News for hackers. Stuff that matters.
Re:Lamport's Bakery Algorithm, Demonstrated in Python by Dylan16807 on Saturday January 20, 2024 @08:54PM (#39074687)
Most shared memory environments are distributed, at least to some extent. The process ID is not an issue, you can do the equivalent in a distributed environment just fine. But the algorithm depends on strict memory ordering, and that's much harder to provide than atomic writes. Most shared memory systems don't offer it.

There are no comments on this comment yet.