JM Project

JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。

Linux マニュアル 一覧

全文・高度検索

per page, with , order by , clip by
Results of 1 - 10 of about 33 for scheduling (0.002 sec.)
Man page of SCHED_SETPARAM 12513
SCHED_SETPARAM Section: Linux Programmer's Manual (2) Updated: 2019-10-10 Index JM Home Page 名前 sched_setparam, sched_getparam - スケジューリングパラメーターの設定と取得を行なう 書式 #include < sched.h > int sched_setparam(pid_t pid , con ... 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 specified in pid . 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 Linux. ... 7) を参照のこと。 sched_setparam () と sched_getparam () が使用できる POSIX システムでは、 < unistd.h > に _POSIX_PRIORITY_SCHEDULING が定義されている。 返り値 成功した場合は sched_setparam () と sched_getparam () は 0 を返す。 エラーの場合は -1 が返され、 ...
https://man.mtool.work/man/20260915/man2/sched_getparam.2.html
Man page of SCHED_SETPARAM 12513
SCHED_SETPARAM Section: Linux Programmer's Manual (2) Updated: 2019-10-10 Index JM Home Page 名前 sched_setparam, sched_getparam - スケジューリングパラメーターの設定と取得を行なう 書式 #include < sched.h > int sched_setparam(pid_t pid , con ... 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 specified in pid . 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 Linux. ... 7) を参照のこと。 sched_setparam () と sched_getparam () が使用できる POSIX システムでは、 < unistd.h > に _POSIX_PRIORITY_SCHEDULING が定義されている。 返り値 成功した場合は sched_setparam () と sched_getparam () は 0 を返す。 エラーの場合は -1 が返され、 ...
https://man.mtool.work/man/20260915/man2/sched_setparam.2.html
Man page of PTHREAD_SETSCHEDPARAM 10476
PTHREAD_SETSCHEDPARAM Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 pthread_setschedparam, pthread_getschedparam - スレッドの スケジューリングポリシーとパラメーターを設定/取得する 書式 #include < pthread ... ラメーターを 指定する。スケジューリングパラメーターは以下の構造体で管理される。 struct sched_param { int sched_priority; /* Scheduling priority */ }; 見て分かる通り、サポートされているスケジューリングパラメーターは一つだけである。各スケジューリングポリシーで ... ってスレッドを作成し、 作成したスレッドのスケジューリングポリシーと優先度を表示する。 $ su # Need privilege to set real-time scheduling policies Password: # ./a.out -mf10 -ar20 -i e Scheduler settings of main thread policy=SCHED_FIFO, priority=10 Scheduler s ... fprintf(stderr, "Options are:\n"); #define fpe(msg) fprintf(stderr, "\t%s", msg); /* Shorter */ fpe("-a<policy><prio> Set scheduling policy and priority in\n"); fpe(" thread attributes object\n"); fpe(" <policy> can be\n"); fpe(" f SCHED_FIFO\n"); fpe(" r ...
https://man.mtool.work/man/20260915/man3/pthread_getschedparam.3.html
Man page of PTHREAD_SETSCHEDPARAM 10476
PTHREAD_SETSCHEDPARAM Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 pthread_setschedparam, pthread_getschedparam - スレッドの スケジューリングポリシーとパラメーターを設定/取得する 書式 #include < pthread ... ラメーターを 指定する。スケジューリングパラメーターは以下の構造体で管理される。 struct sched_param { int sched_priority; /* Scheduling priority */ }; 見て分かる通り、サポートされているスケジューリングパラメーターは一つだけである。各スケジューリングポリシーで ... ってスレッドを作成し、 作成したスレッドのスケジューリングポリシーと優先度を表示する。 $ su # Need privilege to set real-time scheduling policies Password: # ./a.out -mf10 -ar20 -i e Scheduler settings of main thread policy=SCHED_FIFO, priority=10 Scheduler s ... fprintf(stderr, "Options are:\n"); #define fpe(msg) fprintf(stderr, "\t%s", msg); /* Shorter */ fpe("-a<policy><prio> Set scheduling policy and priority in\n"); fpe(" thread attributes object\n"); fpe(" <policy> can be\n"); fpe(" f SCHED_FIFO\n"); fpe(" r ...
https://man.mtool.work/man/20260915/man3/pthread_setschedparam.3.html
Man page of SCHED_YIELD 10010
SCHED_YIELD Section: Linux Programmer's Manual (2) Updated: 2017-09-15 Index JM Home Page 名前 sched_yield - プロセッサーを空け渡す(yield) 書式 #include < sched.h > int sched_yield(void); 説明 sched_yield () を呼び出すことで、呼び出したスレ ... ければ、そのスレッドは呼び出し後も走り続けることになる。 POSIX システムで sched_yield () は < unistd.h > に _POSIX_PRIORITY_SCHEDULING が定義されている場合にのみ使用可能である。 sched_yield () を戦略的に呼び出すことで、(極度に) 競合するリソース (mutex など) ... ンテキストスイッチが起こり、システム性能が 劣化する結果になるからである。 sched_yield () is intended for use with real-time scheduling policies (i.e., SCHED_FIFO or SCHED_RR ). Use of sched_yield () with nondeterministic scheduling policies such as SCHED_OT ...
https://man.mtool.work/man/20260915/man2/sched_yield.2.html
Man page of POSIXOPTIONS 9850
POSIXOPTIONS Section: Linux Programmer's Manual (7) Updated: 2007-12-21 Index JM Home Page 名前 posixoptions - POSIX 標準の選択可能な部分 説明 POSIX 標準 (以下の情報は POSIX.1-2001 の抜粋) は 互換システムの動作とインターフェースのセットを記 ... ンは非同期 I/O の優先度が指定できることを表す。 これは以下の関数に影響する。 aio_read (), aio_write (). PS - _POSIX_PRIORITY_SCHEDULING - _SC_PRIORITY_SCHEDULING インクルードファイル < sched.h > が存在する。 以下の関数が存在する。 sched_get_priority_max (), ... posix_spawnattr_setflags (), posix_spawnattr_setpgroup (), posix_spawnattr_setsigmask (), posix_spawnp (). _POSIX_PRIORITY_SCHEDULING も有効な場合、以下の関数が存在する。 posix_spawnattr_getschedparam (), posix_spawnattr_getschedpolicy (), posix_spawnattr_ ... RVER - _SC_SPORADIC_SERVER スケジューリングポリシー SCHED_SPORADIC がサポートされている。 このオプションは _POSIX_PRIORITY_SCHEDULING オプションを暗黙の内に指定する。 影響を受ける関数は以下の通り。 sched_setparam (), sched_setscheduler (). SIO - _POSIX_SYN ...
https://man.mtool.work/man/20260915/man7/posixoptions.7.html
Man page of PTHREAD_ATTR_INIT 8903
PTHREAD_ATTR_INIT Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 pthread_attr_init, pthread_attr_destroy - スレッド属性オブジェクトの初期化と破棄を行う 書式 #include < pthread.h > int pthread_attr_init(pt ... attributes: Detach state = PTHREAD_CREATE_JOINABLE Scope = PTHREAD_SCOPE_SYSTEM Inherit scheduler = PTHREAD_INHERIT_SCHED Scheduling policy = SCHED_OTHER Scheduling priority = 0 Guard size = 4096 bytes Stack address = 0x40196000 Stack size = 0x201000 byte ... attributes: Detach state = PTHREAD_CREATE_DETACHED Scope = PTHREAD_SCOPE_SYSTEM Inherit scheduler = PTHREAD_EXPLICIT_SCHED Scheduling policy = SCHED_OTHER Scheduling priority = 0 Guard size = 0 bytes Stack address = 0x40197000 Stack size = 0x3000000 bytes ... ???"); s = pthread_attr_getschedpolicy(attr, &i); if (s != 0) handle_error_en(s, "pthread_attr_getschedpolicy"); printf("%sScheduling policy = %s\n", prefix, (i == SCHED_OTHER) ? "SCHED_OTHER" : (i == SCHED_FIFO) ? "SCHED_FIFO" : (i == SCHED_RR) ? "SCHED_R ...
https://man.mtool.work/man/20260915/man3/pthread_attr_destroy.3.html
Man page of PTHREAD_ATTR_INIT 8903
PTHREAD_ATTR_INIT Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 pthread_attr_init, pthread_attr_destroy - スレッド属性オブジェクトの初期化と破棄を行う 書式 #include < pthread.h > int pthread_attr_init(pt ... attributes: Detach state = PTHREAD_CREATE_JOINABLE Scope = PTHREAD_SCOPE_SYSTEM Inherit scheduler = PTHREAD_INHERIT_SCHED Scheduling policy = SCHED_OTHER Scheduling priority = 0 Guard size = 4096 bytes Stack address = 0x40196000 Stack size = 0x201000 byte ... attributes: Detach state = PTHREAD_CREATE_DETACHED Scope = PTHREAD_SCOPE_SYSTEM Inherit scheduler = PTHREAD_EXPLICIT_SCHED Scheduling policy = SCHED_OTHER Scheduling priority = 0 Guard size = 0 bytes Stack address = 0x40197000 Stack size = 0x3000000 bytes ... ???"); s = pthread_attr_getschedpolicy(attr, &i); if (s != 0) handle_error_en(s, "pthread_attr_getschedpolicy"); printf("%sScheduling policy = %s\n", prefix, (i == SCHED_OTHER) ? "SCHED_OTHER" : (i == SCHED_FIFO) ? "SCHED_FIFO" : (i == SCHED_RR) ? "SCHED_R ...
https://man.mtool.work/man/20260915/man3/pthread_attr_init.3.html
Man page of PTHREAD_YIELD 8759
PTHREAD_YIELD Section: Linux Programmer's Manual (3) Updated: 2017-11-26 Index JM Home Page 名前 pthread_yield - プロセッサを明け渡す (yield) 書式 #define _GNU_SOURCE /* See feature_test_macros (7) */ #include < pthread.h > int pthread_yiel ... Linux では、この関数は sched_yield (2) を呼び出す形で実装されている。 pthread_yield () is intended for use with real-time scheduling policies (i.e., SCHED_FIFO or SCHED_RR ). Use of pthread_yield () with nondeterministic scheduling policies such as SCHED_ ...
https://man.mtool.work/man/20260915/man3/pthread_yield.3.html
Man page of PTHREAD_ATTR_SETSCHEDPARAM 8278
PTHREAD_ATTR_SETSCHEDPARAM Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 pthread_attr_setschedparam, pthread_attr_getschedparam - スレッド属性オブジェクトのスケジューリングパラメーター属性の設定/取得を行 ... ッファーに入れて返す。 スケジューリングパラメーターは以下の構造体で管理される。 struct sched_param { int sched_priority; /* Scheduling priority */ }; 見て分かる通り、サポートされているスケジューリングパラメーターは一つだけである。各スケジューリングポリシーで ... edparam () は以下のエラーで失敗する場合がある。 EINVAL The priority specified in param does not make sense for the current scheduling policy of attr . POSIX.1 also documents an ENOTSUP error for pthread_attr_setschedparam (). This value is never returned o ...
https://man.mtool.work/man/20260915/man3/pthread_attr_getschedparam.3.html
PREV 1 2 3 4 NEXT

リンク

日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。