Question 1 A process that is based on IPC mechanism which executes on different systems and can communicate with other processes using message based communication is […]
Question 8 Consider the two functions incr and decr shown below. There are 5 threads each invoking incr once, and 3 threads each invoking decr once, […]
Question 3 Consider the following two threads T1 and T2 that update two shared variables a and b. Assume that initially a=b=1. Though context switching between […]
Question 4 A thread is usually defined as a “light weight process” because an operating system (OS) maintains smaller data structures for a thread than for […]