JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... う 書式 #include < pthread.h > int pthread_attr_setschedpolicy(pthread_attr_t * attr , int policy ); int pthread_attr_getschedpolicy(const pthread_attr_t * attr , int *policy ); -pthrea ... d でコンパイルしてリンクする。 説明 pthread_attr_setschedpolicy () 関数は、 attr が参照するスレッド属性オブジェクトのスケジューリング ポリシー属性を policy で指定された値に設定する。 この ... tr のスケジューリングポリシー属性を policy が指すバッファーに入れて返す。 pthread_create (3) を呼び出した際に pthread_attr_setschedpolicy () で行ったポリシー設定を有効にするには、 呼び出し側で pthread_attr_setinheritsched (3) を使って 属性オブジェクト attr の ... ... う 書式 #include < pthread.h > int pthread_attr_setschedpolicy(pthread_attr_t * attr , int policy ); int pthread_attr_getschedpolicy(const pthread_attr_t * attr , int *policy ); -pthrea ... d でコンパイルしてリンクする。 説明 pthread_attr_setschedpolicy () 関数は、 attr が参照するスレッド属性オブジェクトのスケジューリング ポリシー属性を policy で指定された値に設定する。 この ... tr のスケジューリングポリシー属性を policy が指すバッファーに入れて返す。 pthread_create (3) を呼び出した際に pthread_attr_setschedpolicy () で行ったポリシー設定を有効にするには、 呼び出し側で pthread_attr_setinheritsched (3) を使って 属性オブジェクト attr の ... ... .1-2001, POSIX.1-2008. 注意 Linux でサポートされているスレッドのスケジューリングポリシーのリストに ついては、 pthread_attr_setschedpolicy (3) を参照。 例 pthread_setschedparam (3) を参照。 関連項目 sched_get_priority_min (2), pthread_attr_init (3), pthread_att ... r_setinheritsched (3), pthread_attr_setschedpolicy (3), pthread_create (3), pthread_setschedparam (3), pthread_setschedprio (3), pthreads (7), sched (7) この文書について この ... ... .1-2001, POSIX.1-2008. 注意 Linux でサポートされているスレッドのスケジューリングポリシーのリストに ついては、 pthread_attr_setschedpolicy (3) を参照。 例 pthread_setschedparam (3) を参照。 関連項目 sched_get_priority_min (2), pthread_attr_init (3), pthread_att ... r_setinheritsched (3), pthread_attr_setschedpolicy (3), pthread_create (3), pthread_setschedparam (3), pthread_setschedprio (3), pthreads (7), sched (7) この文書について この ... ... 決定される。 次に挙げるスケジューリング属性は inherit-scheduler 属性の影響を受ける: スケジューリングポリシー ( pthread_attr_setschedpolicy (3))、 スケジューリング優先度 ( pthread_attr_setschedparam (3))、 contention scope ( pthread_attr_setscope (3))。 以下の値 ... しない。 例 pthread_setschedparam (3) を参照。 関連項目 pthread_attr_init (3), pthread_attr_setschedparam (3), pthread_attr_setschedpolicy (3), pthread_attr_setscope (3), pthread_create (3), pthread_setschedparam (3), pthread_setschedprio (3), pthreads (7), sch ... ... 決定される。 次に挙げるスケジューリング属性は inherit-scheduler 属性の影響を受ける: スケジューリングポリシー ( pthread_attr_setschedpolicy (3))、 スケジューリング優先度 ( pthread_attr_setschedparam (3))、 contention scope ( pthread_attr_setscope (3))。 以下の値 ... しない。 例 pthread_setschedparam (3) を参照。 関連項目 pthread_attr_init (3), pthread_attr_setschedparam (3), pthread_attr_setschedpolicy (3), pthread_attr_setscope (3), pthread_create (3), pthread_setschedparam (3), pthread_setschedprio (3), pthreads (7), sch ... ... age(argv[0], "Bad policy for 'attr' (-a)\n"); param.sched_priority = strtol(&attr_sched_str[1], NULL, 0); s = pthread_attr_setschedpolicy(&attr, policy); if (s != 0) handle_error_en(s, "pthread_attr_setschedpolicy"); s = pthread_attr_setschedparam(&attr, ¶ ... et_priority_min (2), pthread_attr_init (3), pthread_attr_setinheritsched (3), pthread_attr_setschedparam (3), pthread_attr_setschedpolicy (3), pthread_create (3), pthread_self (3), pthread_setschedprio (3), pthreads (7), sched (7) この文書について この man ペー ... ... age(argv[0], "Bad policy for 'attr' (-a)\n"); param.sched_priority = strtol(&attr_sched_str[1], NULL, 0); s = pthread_attr_setschedpolicy(&attr, policy); if (s != 0) handle_error_en(s, "pthread_attr_setschedpolicy"); s = pthread_attr_setschedparam(&attr, ¶ ... et_priority_min (2), pthread_attr_init (3), pthread_attr_setinheritsched (3), pthread_attr_setschedparam (3), pthread_attr_setschedpolicy (3), pthread_create (3), pthread_self (3), pthread_setschedprio (3), pthreads (7), sched (7) この文書について この man ペー ... ... る。 posix_spawnattr_getschedparam (), posix_spawnattr_getschedpolicy (), posix_spawnattr_setschedparam (), posix_spawnattr_setschedpolicy (). RS - _POSIX_RAW_SOCKETS raw ソケットがサポートされている。 次の関数が影響を受ける。 getsockopt (), setsockopt (). --- ... る。 posix_spawnattr_getschedparam (), posix_spawnattr_getschedpolicy (), posix_spawnattr_setschedparam (), posix_spawnattr_setschedpolicy (). SPI - _POSIX_SPIN_LOCKS - _SC_SPIN_LOCKS このオプションは _POSIX_THREADS と _POSIX_THREAD_SAFE_FUNCTIONS オプションを暗 ... etinheritsched (), pthread_attr_getschedpolicy (), pthread_attr_getscope (), pthread_attr_setinheritsched (), pthread_attr_setschedpolicy (), pthread_attr_setscope (), pthread_getschedparam (), pthread_setschedparam (), pthread_setschedprio (). TSH - _POSIX_TH ... ... et_priority_min (2), pthread_attr_init (3), pthread_attr_setinheritsched (3), pthread_attr_setschedparam (3), pthread_attr_setschedpolicy (3), pthread_create (3), pthread_self (3), pthread_setschedparam (3), pthreads (7), sched (7) この文書について この man ペ ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。