Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 11. Timers > Code Example: Catching Device Timeouts

Code Example: Catching Device Timeouts

This example shows the addition of timeout support to the simple parallel port driver developed in previous chapters.

Device Extension Additions

The Device Extension is modified to include the timeout counter. A counter value of −1 signifies that timeouts are to be ignored.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial