cvs commit: src/sys/sys thr.h src/sys/kern kern_thr.c syscalls.master

John Baldwin john at baldwin.cx
Thu Jul 13 13:52:45 UTC 2006


On Thursday 13 July 2006 02:26, David Xu wrote:
> davidxu     2006-07-13 06:26:43 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/sys              thr.h 
>     sys/kern             kern_thr.c syscalls.master 
>   Log:
>   Add syscalls thr_setscheduler, thr_getscheduler, and thr_setschedparam,
>   these syscalls are designed to set thread's scheduling parameters and
>   policy, because each syscall contains a size parameter, it is possible
>   to support future scheduling option, e.g SCHED_SPORADIC, this option
>   needs other fields in structure sched_param, current they are not
>   avaiblable.

Don't forget to update sys/compat/freebsd32/syscalls.master when adding new 
syscalls (as the comments in sys/kern/syscalls.master request).

-- 
John Baldwin


More information about the cvs-src mailing list