2 ms·
> That wouldn't work very well when people go straight in different directions... That was actually used in my parallel-programming course as the example of a
by yorwba 9y ago
> That wouldn't work very well when people go straight in different directions...
That was actually used in my parallel-programming course as the example of a deadlock caused by priority inversion. Of course it almost never happens that there are cars in all four directions at an intersection without traffic lights, so it isn't much of a problem in practice.
- kgwgk 9y agoThe parent's explanation didn't include the "yield to the right" rule, so it was problematic already with two cars.