Timer driven tasks in FreeBSD 7

2008-12-07 Thread Yony Yossef
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.

Thanks

Yony
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Timer driven tasks in FreeBSD 7

2008-12-07 Thread Giorgos Keramidas
On Sun, 7 Dec 2008 17:56:47 +0200, Yony Yossef [EMAIL PROTECTED] 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.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]