Re: Driver question on interval execution (polling?)

[ Available lists | Index of freebsd-hackers | Month of Feb 1997 | Week of 24 Feb 1997 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
J Wunsch <j@uriah.heep.sax.de>
Date
24 Feb 1997 15:21:32
Subject
Re: Driver question on interval execution (polling?)
Message-ID
Mutt.19970224221840.j@uriah.heep.sax.de


[ Hide this part ]
As Julian Elischer wrote:

> the calls you want are
> timeout(9)
> untimeout(9)
> tsleep(9)
> and wakeup(9)
> not all have man pages yet

This time you err, Julian. :-) All of them have man pages already.

OTOH, if your card design is not yet finalized, you might add a timer
of your own onto the card, and have it raising an interrupt to your
driver. That's probably more efficient than the rather high overhead
of the timer queue.

--
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


Elapsed time: 0.291 seconds