Question: Two processes maintain a linked-list to keep the record of students. Each node of a linked-list contains personal and academic information of a student. Both
Two processes maintain a linked-list to keep the record of students. Each node of a linked-list contains personal and academic information of a student. Both processes can insert and delete nodes in the list. The list can be displayed, searched for any data in both processes. Write two C programs to implement shared linked-list. The linked-list and semaphore variable will be created on shared memory instead of the heap. You may put a limit on the number of nodes the list can have to make the solution simple.
It should be in the C language.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
