Question: When will your answers to assignment 1 be posted?
One minute response: Soon.
Question: Why do you entertain ball buster questions?
Question: That solution for assignment 1 going up anytime soon.
One minute response: Yes.
Question: This is really boring topics. I mean device management.
Question: There is no Begin Critical Function () End Critical Section () in Unix. Then how do we implement a semaphore.
One minute response: You don't have to; unix provides them. However, if you want to make your own, you could use a user-space mutual-exclusion algorithm like Peterson's (you'd have to modify Peterson's algorithm becasue it's a two-thread algorithm).
Question: Is Windows structurally a bad OS? If so, why?
One minute response: It is difficult to say, because Windows source is propriatery and I've never signed the forms to see it. However, the clues suggest that it is.
Question: My question is: why won't my idle process run when all the other processes run just fine?
One minute response: I'd have to look at your code to answer that.
Question: Is it possible to mix some detection and recovery with some other methods to avoid deadlock?
One minute response: Yes, but detection and recover tends to be a global mechanism, which might lead to duplication of effort when combined with other mechanisms.
Question: Can an OS deadlock by itself while idling?
One minute response: No; it has to be at least performing some operation that can block.
This page last modified on 16 July 2003.