4.4BSD timeslice management

2011-10-05 Thread Riccardo Cattaneo
Hello, I'm looking into the code of 4.4BSD scheduler (and related files) of FreeBSD version 7.2-RELEASE on an amd64 machine in order to understand how to manage time slices. I'm trying to dynamically change the length of the time slice on a thread by thread basis to "give more priority" or "less

Re: Kernel timers infrastructure

2011-09-10 Thread Riccardo Cattaneo
Of course, the module from which I'm calling them must be already loaded and initialized, isn't it? Riccardo On Sep 11, 2011, at 2:57 AM, Adrian Chadd wrote: > You can use the callout API to schedule timed events in the kernel. > > > > Adrian ___ f

Re: Kernel timers infrastructure

2011-09-10 Thread Riccardo Cattaneo
Hi all, Me in the same situation: university project, freebsd os, required to call a certain function X times/second (say, uprintf). Got no luck till now :( Thanks Riccardo___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/list