4.4. Synchronizing with the hardware: Events and the WAIT operation
We have seen above that the operating system's support for processes must include the provision of a WAIT operation to allow processes to synchronize with the hardware. The term 'event' will be used to include the arrival of an interrupt signal from a device.
This operation might be provided as a WAIT for one specific event, for any one event or for any one of a selected set of events. (The logical possibility of waiting for all of a set of events makes little sense: interrupts need to be processed rapidly.) Possible hardware events are relatively small in number and are known at system design time. This set of possible events can easily be encoded as an integer, representing ...
Get Operating Systems: Concurrent and Distributed Software Design now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.