Timer driven tasks in FreeBSD 7

Giorgos Keramidas keramida at ceid.upatras.gr
Sun Dec 7 08:03:38 PST 2008


On Sun, 7 Dec 2008 17:56:47 +0200, "Yony Yossef" <yonyossef.lists at gmail.com> wrote:
> Hi All,
>
> What mechanism should I use for making my netwrok driver call a
> function every half a second, for instnace?
>
> I am already using task queues but I haven't found a way to make it
> work with a timer.

callout_xxx() functions should do the trick.  See the timeout(9)
manpage for more details.



More information about the freebsd-questions mailing list