2 ms·
An interesting exception is Lamport's Bakery: https://en.m.wikipedia.org/wiki/Lamport%27s_bakery_algorithm https://en.m.wikipedia.org/wiki/Lamport%27s_bakery_a
by twic 11y ago
An interesting exception is Lamport's Bakery:
https://en.m.wikipedia.org/wiki/Lamport%27s_bakery_algorithm https://en.m.wikipedia.org/wiki/Lamport%27s_bakery_algorithm
Thread safety without synchronisation primitives. I'm not sure it's ever actually a good idea to use it, though.
EDIT: unless you count a fence as a synchronisation primitive.
- deleted 11y ago[deleted]