Home page:http://www.cis.njit.edu/franz E-mail:franz@cis.njit.edu
Faculty Assistant: Ning Zhu E-mail:cis332fk@cis.njit.edu
| Homework | Task | Deadline | Points |
| 4 | Process Synchronization | Tuesday, Feb. 16, 1999 | 10 |
P1: a := a + 2; P2: b := b * 3;
b := b + 2; a := a * 3;
Please note that processes can be interrupted at any point during
their execution, and that there are several possible sequences
for the execution of the above instructions. Explain your answer
by giving two possible sequences for the execution of the above processes.
2. What is the difference between critical sections and critical regions?
(4 points)
3. How does the concept of critical sections help with
solving the above synchronization problem? (3 points)