Category Archives for System Programming
Readers Writers Problem
Readers writers problem is a classic example of synchronisation problem like dining philosophers problem and producer consumer problem.
Dining Philosophers Problem
Dining philosophers problem is a classic multiprocess synchronisation problem. Problem is summarised as 5 philosophers sitting at a round table doing 2 things, eating and thinking. While eating they are not thinking and while thinking they are not eating. Each … Continue reading
Message passing through pipe
OUTPUT ————– Parent Process ————– Enter the message to child process : hello ————- Child process ————- Message from parent : “hello” Message to patent process : hai ————– Parent Process ————– Message from child : “hai”

