by uonpopular_th · 3y ago · 0 comments
The main gist is: Why is memory shared between two processes?
The answer is: you can unblock a deadlock when you have a consumer and producer by just turning one of them on and off. In all other cases you can't. All the 'solutions' to that problem make assumptions about the processes sharing state which are somewhere between difficult to impossible to keep valid in the real world.
In short: 2 is a magic number and it's not the fault of posix.
No comments yet.