GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SCHED_GET_PRIORITY_MAX(2) FreeBSD System Calls Manual SCHED_GET_PRIORITY_MAX(2)

̾??

sched_get_priority_max, sched_get_priority_min, sched_rr_get_interval???????塼???ѥ??᡼???ξ??? / ???¤?????????

Standard C Library (libc, -lc)

<sched.h> int (int policy) int (int policy) int (pid_t pid, struct timespec *interval)

sched_get_priority_max() ?????ƥॳ?????? sched_get_priority_min() ?????ƥॳ?????ϡ? policy ?ǻ??ꤵ?줿???????塼?????????ˤˤĤ??ơ? ???줾?쳺???????????ȺǾ????֤??ޤ??? sched_rr_get_interval() ?????ƥॳ?????ϡ? interval ?????ˤ??äƻ??Ȥ????? timespec ??¤?Τ??? pid ?ǻ??ꤵ?????ץ??????ˤĤ??? ???ߤμ¹Ի??????? (???ʤ???????????) ???ޤޤ????褦?˹??????ޤ??? pid ?? 0 ?ξ??硢?ƤӽФ????ץ??????˴ؤ??븽?ߤμ¹Ի??????¤??֤????ޤ???

policy ???ͤ? <sched.h> ?????????줿???????塼?????ˤ? 1 ?Ĥˤ???ɬ?פ??????ޤ?:

[SCHED_FIFO]
?饦???ɥ??ӥ󥹥????塼???ʤ??????????? (FIFO) ????ͥ?????̥??????塼?롣
[SCHED_OTHER]
ɸ???Υ????ॷ???????󥰥??????塼?顣
[SCHED_RR]
Ʊ??ͥ?????̤Υץ??????֤ǤΥ饦???ɥ??ӥ󥹥????塼???󥰡?

() ?????ƥॳ?????? () ?????ƥॳ?????ϡ??????˴?λ?????Ȥ??줾?쳺???????????ͤޤ??ϺǾ??ͤ??֤??ޤ??? ?????Ǥʤ????硢?ɤ????δؿ??? -1 ???֤??졢???顼?򼨤??????? errno ?????ꤵ???ޤ???


The sched_rr_get_interval() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the error.

?????????Ԥ????ȡ? errno ???б??????ͤ????ꤵ???ޤ?:

[EINVAL]
policy ???????ͤ??????????Ƥ??륹?????塼?????ˤǤϤ????ޤ?????
[ENOSYS]
() ?????ƥॳ???롢 () ?????ƥॳ???롢?????? () ?????ƥॳ?????ϡ????μ????Ǥϥ??ݡ??Ȥ????Ƥ??ޤ?????
[ESRCH]
pid ?ǻ??ꤵ?????ץ????????б??????ץ??????????Ĥ????ޤ?????

sched_getparam(2), sched_getscheduler(2), sched_setparam(2), sched_setscheduler(2)

sched_get_priority_max() ?????ƥॳ???롢 sched_get_priority_min() ?????ƥॳ???롢???줫?? sched_rr_get_interval() ?????ƥॳ?????? IEEE Std 1003.1b-1993 (“POSIX.1b”) ??Ŭ?礷?Ƥ??ޤ???

March 12, 1998 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 2 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.