Re: Driver question on interval execution (polling?)

[ Available lists | Index of freebsd-hackers | Month of Feb 1997 | Week of 23 Feb 1997 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Julian Elischer <julian@whistle.com>
Date
23 Feb 1997 19:19:54
Subject
Re: Driver question on interval execution (polling?)
Message-ID
331106DC.2781E494@whistle.com

References to
Referenced by

[ Hide this part ]
Brian J. McGovern wrote:

>
> Based on my reading of several device driver books, I am aware of a mechanism
> to be able to have the kernel re-enter a particular function after a certain
> time period is past. Using this system, you should be able to do your
> poll, and then implement the required code so the function will be restarted
> some time in the future, and then it should terminate.

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


Elapsed time: 0.246 seconds