You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Program2 snippet -Sending the message in the queue-[full here](Intermediate/q2b.c)
96
+
- Program2 snippet -Sending the message in the queue-[full here](https://github.com/ashcode028/Operating-System-in-action/blob/57456e6baba4ebd508662a49eb1798210e0b638e/Intermediate/q2b.c)
- Program3 snippet to recieve a message from the queue-[full here](Intermediate/q2c.c)
114
+
- Program3 snippet to recieve a message from the queue-[full here](https://github.com/ashcode028/Operating-System-in-action/blob/57456e6baba4ebd508662a49eb1798210e0b638e/Intermediate/q2c.c)
- Program1 snippet to send packet to the socket-[full](Intermediate/q3a.c)
142
+
- Program1 snippet to send packet to the socket-[full](https://github.com/ashcode028/Operating-System-in-action/blob/57456e6baba4ebd508662a49eb1798210e0b638e/Intermediate/q3a.c)
- Program2 snippet to send packet to the socket-[full](Intermediate/q3b.c)
152
+
- Program2 snippet to send packet to the socket-[full](https://github.com/ashcode028/Operating-System-in-action/blob/57456e6baba4ebd508662a49eb1798210e0b638e/Intermediate/q3b.c)
- Program3 snippet to recieve packet from the socket:-[full](Intermediate/q3c.c)
162
+
- Program3 snippet to recieve packet from the socket:-[full](https://github.com/ashcode028/Operating-System-in-action/blob/57456e6baba4ebd508662a49eb1798210e0b638e/Intermediate/q3c.c)
- Write a C program that involves multiple processes/threads where one of the processes/threads is a writer while there are multiple reader processes.
251
251
- You need to take care of problems related to race conditions using POSIX mutexes and semaphores. The processes may use a shared memory for 8 bytes (64-bits) that could be written to or read from.
- Write a C program to solve the dining philosopher problem where the philosophers are represented by threads. You need to ensure that your solution is free of deadlocks, i.e. it should be designed such that it avoids/prevents deadlocks.
0 commit comments