From owner-man-jp@jp.freebsd.org  Sat Mar 25 16:18:31 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id QAA80700;
	Sat, 25 Mar 2000 16:18:31 +0900 (JST)
	(envelope-from owner-man-jp@jp.FreeBSD.org)
Received: from mailgw1.be.to (mailgw1.be.to [210.235.212.5])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id QAA80695
	for <man-jp@jp.freebsd.org>; Sat, 25 Mar 2000 16:18:30 +0900 (JST)
	(envelope-from okazaki@be.to)
Received: from mail1.be.to (point1.be.to [210.235.212.29])
	by mailgw1.be.to (8.9.3+3.2W/BETO.2.1-2000032215000035) with ESMTP id QAA26835
	for <man-jp@jp.freebsd.org>; Sat, 25 Mar 2000 16:18:21 +0900
Received: from acidrain (ppp13-Mobara1.mtci.ne.jp [210.172.1.215])
	by mail1.be.to (8.8.8+3.0Wbeta13/BETO.2.0-1999110714000000) with SMTP id QAA17250
	for <man-jp@jp.freebsd.org>; Sat, 25 Mar 2000 16:18:14 +0900
Received: (qmail 3506 invoked from network); 25 Mar 2000 07:17:33 -0000
Received: from localhost (HELO acidrain.localnet) (127.0.0.1)
  by localhost with SMTP; 25 Mar 2000 07:17:33 -0000
Date: Sat, 25 Mar 2000 16:17:32 +0900
Message-ID: <86og83plgz.wl@dolphin.be.to>
From: OKAZAKI Tetsurou <okazaki@be.to>
To: man-jp@jp.freebsd.org
In-Reply-To: In your message of "Sat, 25 Mar 2000 02:36:58 +0900 (JST)"
	<200003241736.CAA00252@kces.koganemaru.co.jp>
References: <200003241736.CAA00252@kces.koganemaru.co.jp>
User-Agent: Wanderlust/1.1.0 (Overjoyed) REMI/1.14.1 (=?ISO-8859-4?Q?Mushi?=
 =?ISO-8859-4?Q?gawa=F2sugi?=) Chao/1.14.1 (=?ISO-8859-4?Q?Rokujiz=F2?=)
 APEL/10.2 Emacs/20.6 (i386--freebsd) MULE/4.0 (HANANOEN)
Organization: Unknown
MIME-Version: 1.0 (generated by REMI 1.14.1 - =?ISO-8859-4?Q?=22Mushigawa=F2?=
 =?ISO-8859-4?Q?sugi=22?=)
Content-Type: text/plain; charset=ISO-2022-JP
Reply-To: man-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: man-jp 2271
Subject: [man-jp 2271] Re: cat2 -> man2 ad hoc procject
Errors-To: owner-man-jp@jp.freebsd.org
Sender: owner-man-jp@jp.freebsd.org
X-Originator: okazaki@be.to

$B2,:j$G$9!#(Bsched_setparam.2 $B!A(B send.2 $BC4Ev$G$9!#(B

In the message <200003241736.CAA00252@kces.koganemaru.co.jp> 
Nobuyuki Koganemaru <kogane@koganemaru.co.jp> wrote:

> sched_setparam.2
> sched_setscheduler.2
> $B$K$"$k(B .Xr p1003_1b $B$O(B .St -p1003.1b $B$N4V0c$$$G$O$J$$$H;W$&$N$G$9$,(B
> $B$I$&$G$9$+!)(B

$B$3$l!"3N$+$K$A$g$C$H5$$K$J$j$^$9!#(Bman p1003_1b $B$rFI$s$G$b(B

>  In this implementation, the policy of when a process can affect
>  the scheduling parameters of another process is specified in
> -.Xr p1003_1b
> +.St -p1003.1b
>  as a write-style operation.

>  In this implementation, the policy of when a process can obtain the
>  scheduling parameters of another process are detailed in
> -.Xr p1003_1b
> +.St -p1003.1b
>  as a read-style operation.

>  .It Bq Er EPERM
>  The requesting process doesn not have permission as detailed in
> -.Xr p1003_1b .
> +.St -p1003.1b .

$B$NJ8>O$N(B write-style operation/read style operation/permission $B$N(B
$B@bL@$O:\$C$F$$$^$;$s$7!#(B

> $B$b$&0l$D(B sched_setparam.2 $B$NCf$K=P$F$/$kC18l(B aka $B$O(B and $B$+2?$+$N(B
> $B4V0c$$$@$H;W$$$^$9$,$I$&$G$9$+!)(B

> is normal timesharing (SCHED_OTHER, aka SCHED_NORMAL when not POSIX-source)
>                                     ^^^
> or the idle policy (SCHED_IDLE when not POSIX-source) then the behavior

$B>>:j$5$s$N(B [man-jp 2270] <86puskuuwd.wl@tkc.att.ne.jp> $B$NDL$j$@$H;W$$$^$9!#(B
POSIX-source $B$J$i(B SCHED_OTHER $B$r!"(BPOSIX-source $B$G$J$$$J$i(B SCHED_NORMAL
$B$r;H$&$H$$$&0UL#$J$N$G!"$b$78@$$2s$7$rJQ$($k$H$9$k$H(B or $B$,$$$$$G$7$g$&$M!#(B

$B$^$@G<IJ$7$F$$$^$;$s(B _o_ $B$,!"F|K\8lLu$NJ}$G$O(B

(SCHED_OTHER, POSIX-source
$B$G$J$$>l9g$O(B SCHED_NORMAL)

(POSIX-source $B$G$J$$>l9g$O(B
SCHED_IDLE)

$B$H$7$^$7$?!#(B
;; "POSIX$B%=!<%9(B" $B$HLu$5$l$F$$$?$N$r(B "POSIX-source" $B$KLa$7$F$^$9!#(B

-- 
$B2,:jE/O/(B
