| Notes (4-up) | Notes (1-up) | Relevant textbook material |
|---|---|---|
| Introduction | Introduction | Chapter 1 |
| OS structure | OS structure | Chapter 2 |
| Processes1 | Processes1 | Chapters 3, 4, 5, 6 |
| Deadlock1 | Deadlock1 | Chapter 7 |
| Main memory | Memory | Chapter 8 |
| Virtual memory | Virtual memory | Chapter 9 |
| File system | File system | Chapters 10 and 11 |
| Protection and Security | Protection and Security | Chapters 14 and 15 |
| Secure programming | Secure programming |
My notes on C++ are available from the Web page of CSC 218 in section ``Lecture notes.'' You are likely to be interested in the ``C++ basics'' and ``Pointers'' modules, as well as the module on working with multiple files. The ``Systems'' section contains information about working in a Unix environment, compiling and running your program, and other useful information. You may also be interested in the ``Reference material'' section.
Handling interrupts while locking resources is not just sub-optimal but it's highly dangerous. Imagine if both parents were so careless and, for example, when she handled the drinks-for-the-boys interrupt he was in the middle of geting himself something to drink. Further imagine that while having the drink source resource locked he handled an interrupt from the boys for some cheese on their food. BLAMMO! You're deadlocked! Everyone starves and you've got a dead family on your hands.
Not only is his strategy of releasing locks before handling interrupts speed efficient, it's also important for survival. They really dodged a bullet with that cheese thing. I can't believe his wife was so reckless with the safety of her entire family.Enjoy!