September 27, 2002 17 Event-driven Multiprogramming Example Two programs are running – Payroll and Inventory Management Payroll needs to read an employee record Payroll generates an interrupt to read from the disk Normal processing is temporarily suspended The CPU looks at the interrupt and initiates the read operation on the disk drive While waiting for the read to complete, the CPU begins processing the Inventory Management program
{}