CMPSC 121 Chapter Notes - Chapter 4: Spooling, Distributed Computing, Local Area Network
Document Summary
Os decide whether to grant the request. If the printer is used by another process, the os should deny the request and classify the process and wait until the printer is ready. Race condition- the results worthless to both processes. An important task of an operating system is the allocation of resources to the processes in the system. Resources: a machine"s peripheral devices as well as features within the machine. Os must keep track of whether the printer has been allocated. Mutual exclusion processes cannot be in the same region. At least two resources are needed in common by both processes. An allocated resource cannot be forcibly retrieved. Each time a process requires the printer, the os grants the request. However, os connects the process to a device that stores the information to be printed on a disk. Undesired access by unauthorized people to your computer system. Stealing passwords guessing, tricking, wire- tapping, disguised system daemon asking for passwords.