![suomeksi](http://www.cs.Helsinki.FI/gif/f-fi.gif)
Operating Systems II, Spring 2004, HW 2
This will be covered in practise session during the week 14 (30.3-1.4.2004)
- Processes
- Problem 3.1 from text book [Stal01, p. 149]
- Problem 3.5 from text book.
- Give an example on an application problem that would be best to solve
with similar processes as
- process 1 in Fig 4.15 [Stal01, p. 185], i.e., each process is one ULT, running in its own LWP
- process 3 in Fig 4.15
- process 4 in Fig 4.15
- Threads
- Problem 4.4 from text book [Stal01, p. 195]
- problem 4.5 from text book [Stal01, p. 195]
- Give a synchronization example, where Solaris thread primitive sema_tryp() is
used, but a similar solution with primitive sema_p() would not work.
Explain..
- How would one use Unix semaphore operation semop(sem, sem_op) to
solve the Dining Philosophers Problem in Fig 6.12.?
You can get more information on semop with Unix man command.
- How would one deliver the operating systems service request to a server process running outside the microkernel from an ordinary application? How does that differ from a service request used in monolithic OS? What if the service request was done by a (kernel-level) OS routine?
Teemu Kerola 19.03.2004 14:59