Question: You said you pass a copy of the data when you communicate, but can it just be a pointer?
One minute response: Generally, no. The data at location 100 in one process has no relation to the data at location 100 in another process, and the pointer (address) in both processes look the same.
Question: How do I view a semaphore? Is it a real data [?] somewhere? Do message queues necessarily enforce msg passing between two processors?
One minute response: A semaphore is an boolean flag with the operations put and take. Put set the flag to true and take blocks until the flag is true and then sets it to false. It depends on how message queues are implemented, but I would think so; there are far more efficient ways for a process to send a message to itself than to use a message queue.
Question: De we really need scheduling in the first assignment?
One minute response: Whenever you have more than one non-OS process, you need scheduling. Most of the batch disks create more than one non-OS process.
Question: If sockets are so expensive, why do we use them?
One minute response: They're ported widely; there's a large base of socket expertise to draw on; the alternatives are worse.
Question: None right now.
Question: In past semesters, what percentage of OS students successfully wrote properly functioning operating systems?
One minute response: For the graduate students I'd guess about half; for the undergraduates I'd guess less than a quarter.
Question: Are the other assignments smaller?
One minute response: The memory-management is, the file-management assignment is definitely not; the device-management assignment is not and usually requires re-writing (These are my experiences; your experiences may be different). You can look at the assignments from past courses for examples.
Question: In class you mentioned Doom. I was wondering if you play video games in your spare time.
One minute response: Nope.
This page last modified on 16 July 2003.