Kernel timers infrastructure

Adrian Chadd adrian at freebsd.org
Sun Sep 11 01:17:43 UTC 2011


On 11 September 2011 09:02, Riccardo Cattaneo
<cattaneo.riccardo at gmail.com> wrote:
> Of course, the module from which I'm calling them must be already loaded and initialized, isn't it?
> Riccardo

Well, yes - but then, you can just add something to the module load
code to start off the callout.

There are race conditions to keep in mind though - the callout may
just about to be in-play when you go to remove it. The callout manpage
points out these situations under "Avoiding Race Conditions."


Adrian


More information about the freebsd-hackers mailing list