Date: Thu, 13 Jul 2006 09:30:48 -0400 From: John Baldwin <john@baldwin.cx> To: David Xu <davidxu@freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/sys thr.h src/sys/kern kern_thr.c syscalls.master Message-ID: <200607130930.49565.john@baldwin.cx> In-Reply-To: <200607130626.k6D6QhQ3066209@repoman.freebsd.org> References: <200607130626.k6D6QhQ3066209@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607130930.49565.john>