OSDN Git Service

(split) LDP: Update release pages based on LDP 3.54 release
[linuxjm/LDP_man-pages.git] / release / man3 / pthread_attr_setschedpolicy.3
index dac1b17..e647dd8 100644 (file)
@@ -1,6 +1,7 @@
 .\" Copyright (c) 2008 Linux Foundation, written by Michael Kerrisk
 .\"     <mtk.manpages@gmail.com>
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\"*******************************************************************
 .\"
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH PTHREAD_ATTR_SETSCHEDPOLICY 3 2010\-02\-03 Linux "Linux Programmer's Manual"
+.\"
+.\" Japanese Version Copyright (c) 2012  Akihiro MOTOKI
+.\"         all rights reserved.
+.\" Translated 2012-05-03, Akihiro MOTOKI <amotoki@gmail.com>
+.\" Updated 2013-07-31, Akihiro MOTOKI <amotoki@gmail.com>
+.\"
+.TH PTHREAD_ATTR_SETSCHEDPOLICY 3 2013\-06\-21 Linux "Linux Programmer's Manual"
 .SH 名前
 pthread_attr_setschedpolicy, pthread_attr_getschedpolicy \- スレッド属性
 オブジェクトのスケジューリングポリシー属性の設定/取得を行う
@@ -56,6 +64,10 @@ pthread_attr_setschedpolicy, pthread_attr_getschedpolicy \- スレッド属性
 \fBpthread_attr_getschedpolicy\fP() は、
 スレッド属性オブジェクト \fIattr\fP のスケジューリングポリシー属性を
 \fIpolicy\fP が指すバッファに入れて返す。
+
+\fBpthread_create\fP(3) を呼び出した際に \fBpthread_attr_setschedpolicy\fP()
+で行ったポリシー設定を有効にするには、 呼び出し側で \fBpthread_attr_setinheritsched\fP(3) を使って 属性オブジェクト
+\fIattr\fP の inherit\-scheduler 属性を \fBPTHREAD_EXPLICIT_SCHED\fP に設定しておかなければならない。
 .SH 返り値
 成功すると、これらの関数は 0 を返す。
 エラーの場合、0 以外のエラー番号を返す。
@@ -75,11 +87,13 @@ POSIX.1\-2001.
 .SH 例
 \fBpthread_setschedparam\fP(3) を参照。
 .SH 関連項目
+.ad l
+.nh
 \fBsched_setscheduler\fP(2), \fBpthread_attr_init\fP(3),
 \fBpthread_attr_setinheritsched\fP(3), \fBpthread_attr_setschedparam\fP(3),
 \fBpthread_create\fP(3), \fBpthread_setschedparam\fP(3),
 \fBpthread_setschedprio\fP(3), \fBpthreads\fP(7)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.40 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.54 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。