Hi.

On 25.07.2011 17:13, Filippo Sironi wrote:
I'm working on a university project that's based on FreeBSD and I'm currently 
hacking the kernel... but I'm a complete newbie.
My question is: what if I have to call a certain function 10 times per second?
I've seen a bit of code regarding callout_* functions but I can't get through 
them. Is there anyone who can help me?

Have you read callout(9) manual page? That API is right if you need to call some function. Also in some cases (if you need to make your kernel thread wait for something) you may use sleep(9) API.

--
Alexander Motin
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to