programing:linux-programing:pthreads-programing:sched-policy-priority
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン | |||
programing:linux-programing:pthreads-programing:sched-policy-priority [2022/07/10 08:43] – [macOSでの優先度範囲] yoko | programing:linux-programing:pthreads-programing:sched-policy-priority [2022/07/10 08:43] (現在) – [macOSでの優先度範囲] yoko | ||
---|---|---|---|
行 18: | 行 18: | ||
### macOSでの優先度範囲 | ### macOSでの優先度範囲 | ||
- | macOSで指定できる優先度の設定は 1〜99 ではなく、POSIX.1-2001 で要求される最低 32 種類のレベル指定となっている模様。(macOS Monterey 12.4で確認) | + | macOSで指定できる優先度は 1〜99 ではなく、POSIX.1-2001 で要求される最低 32 種類のレベル指定となっている模様。(macOS Monterey 12.4で確認) |
なので、設定きできる優先度の範囲は、 `sched_get_priority_min` と `sched_get_priority_max` を使って調べてから利用する。 | なので、設定きできる優先度の範囲は、 `sched_get_priority_min` と `sched_get_priority_max` を使って調べてから利用する。 | ||
programing/linux-programing/pthreads-programing/sched-policy-priority.1657410216.txt.gz · 最終更新: 2022/07/10 08:43 by yoko