ChorusOS 4.0 Device Driver Framework Guide

Timeouts

Device drivers may need timeout services to check whether there is activity on a device, or to verify that a started action will terminate before a given time limit is reached.


Note -

As these services should be implemented using drivers, they are not available and must not be used by drivers at initialization time.


Timeout related services are described below. See the man pages for complete descriptions of listed commands:

svTimeoutSet

sets a timeout request

svTimeoutCancel

cancels a timeout request

svTimeoutGetRes

returns the smallest possible difference between two distinct "time" values