RR_GET_INTERVAL

Section: ¸®´ª½º ÇÁ·Î±×·¡¸Ó ¸Þ´º¾ó (2)
Updated: 1996³â 4¿ù 10ÀÏ
Index
Return to Main Contents
 

À̸§

sched_rr_get_interval - ÇÁ·Î¼¼½ºÀÇ SCHED_RR°£°ÝÀ» Ãâ·ÂÇÑ´Ù.  

»ç¿ë¹ý

#include <sched.h>

int sched_rr_get_interval(pid_t pid, struct timespec *tp);


    long    tv_nsec;    /* nanoseconds */
};

sched_rr_get_interval 
´Â pid·Î ÇÁ·Î¼¼½º È®ÀÎÀ» À§ÇØ tp ¶ó¿îµå ·Îºó ½Ã°£¿¡ ÀÇÇØ 
tiespec ±¸Á¶Ã¼¿¡ ¾²°Ô µÈ´Ù. pid°¡ 0À̸é, È£ÃâµÈ ÇÁ·Î¼¼½º
¸¦ À§ÇÑ ½Ã°£Àº *tp¿¡ ¾²ÀÌ°Ô µÈ´Ù. È®ÀÎµÈ ÇÁ·Î¼¼½º´Â 
SCHED_RR 
½ºÄÉÁ층 Á¤Ã¥ÇÏ¿¡¼­¸¸ ½ÇÇàµÈ´Ù.

¶ó¿îµå·Îºó ½Ã°£°ªÀº ¸®´ª½º 1.3.81ÀÌÇÏ ¹öÀü¿¡¼­´Â ȣȯµÇÁö ¾Ê´Â´Ù.

POSIX systems on which
sched_rr_get_interval
´Â <unistd.h>ÀÇ
_POSIX_PRIORITY_SCHEDULING
¿¡ Á¤ÀÇ µÇ¾îÀÖ´Ù.

 

¹Ýȯ°ª

¼º°ø½Ã, sched_rr_get_interval 0À» ¹ÝȯÇÑ´Ù. ½ÇÆнà -1À» ¹ÝȯÇÏ°í, errno´Â ÀûÀýÇÏ°Ô ¼³Á¤µÈ´Ù.  

¿¡·¯

ESRCH
pidÀÇ ÇÁ·Î¼¼½º¸¦ ãÁö ¸øÇÑ´Ù.
ENOSYS
½Ã½ºÅÛ È£ÃâÀÌ ¾ÆÁ÷ ½ÇÇàµÇÁö ¾Ê¾Ò´Ù.
 

ȣȯ

POSIX.1b (formerly POSIX.4)  

¹ö±×

¸®´ª½º 1.3.81°ú °°ÀÌ sched_rr_get_interval°¡ ENOSYS¿¡·¯¸¦ ¹ÝȯÇϴ°ÍÀº SCHED_RR°¡ ¾ÆÁ÷ ÃæºÐÇÑ ±¸Çö°ú ÀûÀýÇÑ Å×½ºÆ®°¡ ¾ø¾ú±â ¶§¹®ÀÌ´Ù.  

°ü·Ã Ç׸ñ

sched_setscheduler(2) ´Â ¸®´ª½º ½ºÄÉÁ층 °³¿ä¸¦ Æ÷ÇÔÇÑ´Ù.

Programming for the real world - POSIX.4 by Bill O. Gallmeister, O'Reilly & Associates, Inc., ISBN 1-56592-074-0
IEEE Std 1003.1b-1993 (POSIX.1b standard, formerly POSIX.4)
ISO/IEC 9945-1:1996  

¿ªÀÚ

ASPLINUX<man@asp-linux.co.kr>, 2000³â 7¿ù 29ÀÏ


 

Index

À̸§
»ç¿ë¹ý
¹Ýȯ°ª
¿¡·¯
ȣȯ
¹ö±×
°ü·Ã Ç׸ñ
¿ªÀÚ

This document was created by man2html, using the manual pages.
Time: 08:07:00 GMT, March 25, 2004