3 ms·
> ... almost all synchronization primitives can be implemented with each other Not to mention that any partial recursive function can be computed by a machine
by kazinator 12y ago
> ... almost all synchronization primitives can be implemented with each other
Not to mention that any partial recursive function can be computed by a machine which can move along an unlimited tape, reading or writing a symbol, according to a handful of rules. :)
> And as you point out, the various mutex incarnations usually have an easier time of tracking ownership and debugging
Ownership, whether or not the owning thread died, deadlock detection, recursion detection ... priority inversion handling like priority inheritance ...