Chapter 11. Timers

< BACK  NEXT >
[oR]

Chapter 11. Timers

CHAPTER OBJECTIVES

  • Handling Device Timeouts

  • Code Example: Catching Device Timeouts

  • Managing Devices without Interrupts

  • Code Example: A Timer-Based Driver

  • Summary

Software developers have known about it from the beginning. Hardware does not always behave the way it should. For example, error conditions may prevent a device from generating an interrupt when one is expected. Even worse, some devices don't use interrupts to signal interesting state changes. Handling these situations requires some kind of timer or polling mechanism, and this chapter describes just such a process.

< BACK  NEXT >


The Windows 2000 Device Driver Book(c) A Guide for Programmers
The Windows 2000 Device Driver Book: A Guide for Programmers (2nd Edition)
ISBN: 0130204315
EAN: 2147483647
Year: 2000
Pages: 156

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net