Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Dec 2008 18:03:24 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        "Yony Yossef" <yonyossef.lists@gmail.com>
Cc:        freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: Timer driven tasks in FreeBSD 7
Message-ID:  <877i6ct1kj.fsf@kobe.laptop>
In-Reply-To: <20def4870812070756n649f442fwc6e1d3da195a0669@mail.gmail.com> (Yony Yossef's message of "Sun, 7 Dec 2008 17:56:47 %2B0200")
References:  <20def4870812070756n649f442fwc6e1d3da195a0669@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 7 Dec 2008 17:56:47 +0200, "Yony Yossef" <yonyossef.lists@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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?877i6ct1kj.fsf>