JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... t sched_attr * attr , unsigned int flags ); int sched_getattr(pid_t pid , struct sched_attr * attr , unsigned int size , unsigned ... int flags ); 説明 sched_setattr() sched_setattr () システムコールは、 pid で指定された ID を持つスレッドのスケジューリングポリシーと関連する属性を ... 以下の「通常」の (つまり、リアルタイムではない) スケジューリングポリシーが、 policy に指定できる値としてサポートされている。 SCHED_OTHER 標準の、ラウンドロビンによる時分割型のスケジューリングポリシー。 SCHED_BATCH 「バッチ」形式でのプロセスの実行用。 SC ... ... t sched_attr * attr , unsigned int flags ); int sched_getattr(pid_t pid , struct sched_attr * attr , unsigned int size , unsigned ... int flags ); 説明 sched_setattr() sched_setattr () システムコールは、 pid で指定された ID を持つスレッドのスケジューリングポリシーと関連する属性を ... 以下の「通常」の (つまり、リアルタイムではない) スケジューリングポリシーが、 policy に指定できる値としてサポートされている。 SCHED_OTHER 標準の、ラウンドロビンによる時分割型のスケジューリングポリシー。 SCHED_BATCH 「バッチ」形式でのプロセスの実行用。 SC ... ... ジューリングポリシーとパラメーターを設定する。 sched_getscheduler (2) 指定されたスレッドのスケジューリングポリシーを返す。 sched_setparam (2) 指定されたスレッドのスケジューリン ... グパラメーターを設定する。 sched_getparam (2) 指定されたスレッドのスケジューリングパラメーターを取得する。 sched_get_priority_max (2) 指定されたスケジューリ ... ングポリシーで利用可能な最小の優先度を返す。 sched_get_priority_min (2) 指定されたスケジューリングポリシーで利用可能な最大の優先度を返す。 sched_rr_get_interval (2) 「ラウン ... ... duler(pid_t pid , int policy , const struct sched_param * param ); int sched_getscheduler(pid_t pid ); 説明 sched_setscheduler () システムコールは、 pid で指定された ID を持 ... パラメーターが設定される。 スケジューリングパラメーターは param 引数で、以下の形式の構造体へのポインターを指定する。 struct sched_param { ... int sched_priority; ... }; 現在の実装では、この構造体のフィールドは sched_priority だけである。 param がどのよ ... 以下の「通常」の (つまり、リアルタイムではない) スケジューリングポリシーが、 policy に指定できる値としてサポートされている。 SCHED_OTHER 標準の、ラウンドロビンによる時分割型のスケジューリングポリシー。 SCHED_BATCH 「バッチ」形式でのプロセスの実行用。 SC ... ... duler(pid_t pid , int policy , const struct sched_param * param ); int sched_getscheduler(pid_t pid ); 説明 sched_setscheduler () システムコールは、 pid で指定された ID を持 ... パラメーターが設定される。 スケジューリングパラメーターは param 引数で、以下の形式の構造体へのポインターを指定する。 struct sched_param { ... int sched_priority; ... }; 現在の実装では、この構造体のフィールドは sched_priority だけである。 param がどのよ ... 以下の「通常」の (つまり、リアルタイムではない) スケジューリングポリシーが、 policy に指定できる値としてサポートされている。 SCHED_OTHER 標準の、ラウンドロビンによる時分割型のスケジューリングポリシー。 SCHED_BATCH 「バッチ」形式でのプロセスの実行用。 SC ... ... st struct sched_param * param ); int sched_getparam(pid_t pid , struct sched_param * param ); struct sched_param { ... int sched_priority ... ; ... }; 説明 sched_setparam () sets the scheduling parameters associated with the scheduling policy for the thread whose thread ID is specifi ... If pid is zero, then the parameters of the calling thread are set. The interpretation of the argument param depends on the scheduling policy of the thread identified by pid . See sched (7) for a description of the scheduling policies supported under L ... ... st struct sched_param * param ); int sched_getparam(pid_t pid , struct sched_param * param ); struct sched_param { ... int sched_priority ... ; ... }; 説明 sched_setparam () sets the scheduling parameters associated with the scheduling policy for the thread whose thread ID is specifi ... If pid is zero, then the parameters of the calling thread are set. The interpretation of the argument param depends on the scheduling policy of the thread identified by pid . See sched (7) for a description of the scheduling policies supported under L ... ... .h > int pthread_setschedparam(pthread_t thread , int policy , const struct sched_param * param ); int pthread_getschedparam(pthread_t thread , int ... * policy , struct sched_param * param ); -pthread でコンパイルしてリンクする。 説明 pthread_setschedparam () 関数は、スレッド thread の スケジュー ... ングパラメーターを設定する。 policy は thread の新しいスケジューリングポリシーを指定する。 policy に指定できる値とその意味は sched (7) で説明されている。 param が指す構造体は thread の新しいスケジューリングパラメーターを 指定する。スケジューリングパラメ ... ... .h > int pthread_setschedparam(pthread_t thread , int policy , const struct sched_param * param ); int pthread_getschedparam(pthread_t thread , int ... * policy , struct sched_param * param ); -pthread でコンパイルしてリンクする。 説明 pthread_setschedparam () 関数は、スレッド thread の スケジュー ... ングパラメーターを設定する。 policy は thread の新しいスケジューリングポリシーを指定する。 policy に指定できる値とその意味は sched (7) で説明されている。 param が指す構造体は thread の新しいスケジューリングパラメーターを 指定する。スケジューリングパラメ ... ... ax(int policy ); int sched_get_priority_min(int policy ); 説明 sched_get_priority_max () は policy によって指定されたスケジューリングのアルゴリズムで ... 使用されるプライオリティの最大値を返す。 sched_get_priority_min () は policy によって指定されたスケジューリングのアルゴリズムで 使用されるプライオリティの最小値を返す。 ... サポートされる policy の値は SCHED_FIFO 、 SCHED_RR 、 SCHED_OTHER 、 SCHED_BATCH , SCHED_IDLE , SCHED_DEADLINE である。これらのスケジューリング方針に関する詳 ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。