Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 1997 19:11:24 -0800
From:      Julian Elischer <julian@whistle.com>
To:        "Brian J. McGovern" <mcgovern@spoon.beta.com>
Cc:        patrick collins <pc012@seqeb.gov.au>, hackers@freebsd.org
Subject:   Re: Driver question on interval execution (polling?)
Message-ID:  <331106DC.2781E494@whistle.com>
References:  <199702240127.UAA04260@spoon.beta.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?331106DC.2781E494>