Á¤º¸°úÇÐȸ ³í¹®Áö A : ½Ã½ºÅÛ ¹× ÀÌ·Ð
Current Result Document :
ÇѱÛÁ¦¸ñ(Korean Title) |
ESR : Posix ¾²·¹µå¸¦ ÀÌ¿ëÇÑ ½Ç½Ã°£ µ¿±âȸ¦ Áö¿øÇÏ´Â È®ÀåµÈ SR ¾ð¾î ½Ã½ºÅÛ |
¿µ¹®Á¦¸ñ(English Title) |
ESR : An Extension of SR Language System for Real-Time Synchronization using POSIX Threads |
ÀúÀÚ(Author) |
Á¤¿µÇÊ
±è¿µ°ï
¹Ú¾ç¼ö
À̸íÁØ
Youngphil Cheung
Younggon Kim
Yangsu Park
Myungjoon Lee
|
¿ø¹®¼ö·Ïó(Citation) |
VOL 25 NO. 02 PP. 0124 ~ 0135 (1998. 02) |
Çѱ۳»¿ë (Korean Abstract) |
´ëºÎºÐÀÇ ½Ç½Ã°£ ½Ã½ºÅÛÀº ½Ç½Ã°£¿¡ Ÿ½ºÅ©¸¦ ½ºÄÉÁìÇÏ´Â ¹æ¹ýÀ¸·Î ¿ì¼±¼øÀ§-±â¹ÝÀÇ ¼±Á¡ ½ºÄÉÁì ¹æ½Ä(priority-based preemptive scheduling)À» »ç¿ëÇØ ¿Ô´Ù. ±×·¯³ª ÀÌ·¯ÇÑ ½ºÄÉÁ층 ¹æ½Ä¿¡ Á÷Á¢ »ç¿ëÇÏ´Â ¼¼¸¶Æ÷, ¸ð´ÏÅÍ, ¶ûµ¥ºä¿Í °°Àº µ¿±âÈ ÇÁ¸®¹ÌƼºê¸¦ Àû¿ëÇÏ¸é ¿ì¼±¼øÀ§ ¹ÝÀü(priority inversion)ÀÇ ¹®Á¦°¡ ¹ß»ýÇÑ´Ù. ±×·¯¹Ç·Î ½Ç½Ã°£ ½Ã½ºÅÛÀº ÀÌ ¹®Á¦¸¦ ÇØ°áÇÏ´Â ½Ç½Ã°£ µ¿±âÈ(real-time synchronization) ±â¹ýÀÌ ÇÊ¿äÇÏ´Ù. ±×¸®°í ´ëºÎºÐ ½Ç½Ã°£ ½Ã½ºÅÛÀº º´Çàó¸® ½Ã½ºÅÛÀ̹ǷΠ½Ç½Ã°£ µ¿±âÈ ±â¹ýÀº º´Çà¾ð¾î¸¦ ÅëÇÏ¿© Áö¿øµÇ¾î¾ß ÇÑ´Ù. º» ³í¹®Àº ½Ç½Ã°£ µ¿±âȸ¦ Áö¿øÇÏ´Â ¿ì¼±¼øÀ§ ±â¹ÝÀÇ ¼±Á¡ ½ºÄÉÁ층 °¡´ÉÇÑ ESRÀ» Á¦½ÃÇÑ´Ù. POSIX ¾²·¹µå(pthreads)´Â °³¹æÇü ¿î¿µÃ¼Á¦¸¦ À§ÇÑ IEEE Ç¥ÁØÀ̸é POSIX.1c¿¡ Á¤ÀÇµÈ POSIXÀÇ ¾²·¹µå È®ÀåÀÌ´Ù. ÀÌ·¯ÇÑ Pthreads¸¦ »ç¿ëÇÏ¿© SRÀÇ »õ·Î¿î ½ÇÇàÁö¿ø½Ã½ºÅÛÀÎ SR/RTS+¸¦ ¸ÕÀú °³¹ßÇßÀ¸¸ç, À̸¦ ±â¹ÝÀ¸·Î ESRÀÇ ½ÇÇàÁö¿ø½Ã½ºÅÛÀ» °³¹ßÇß´Ù. ESR¿¡¼ ¿ì¼±¼ö´©ÀÌ °³³äÀ» Áö¿øÇϱâ À§ÇØ SR ¾ð¾îÀÇ ¹®¹ýÀÌ È®ÀåµÇ¾ú°í, ÀÌ¿¡ µû¶ó SR ÄÄÆÄÀÏ·¯°¡ °ü·Ã Äڵ带 »ý¼ºÇϵµ·Ï ¼öÁ¤µÇ¾ú´Ù. ½Ç½Ã°£ µ¿±âȸ¦ À§ÇØ ESRÀÇ ½ÇÇàÁö¿ø½Ã½ºÅÛµµ ¿ì¼±¼øÀ§ »ó¼Ó ±Ô¾à(priority inheritance protocol)°ú ¿ì¼±¼øÀ§ ¾Á¸µ ±Ô¾à(priority ceiling protocol)À» Áö¿øÇϸç ÀÌ·¯ÇÑ µÎ ±Ô¾ÇÀº SRÀÇ ¼¼¸¶Æ÷ ±¸Á¶¿¡ Àû¿ëµÈ´Ù. ƯÈ÷ ±Ô¾àÀÌ ÀÌÁø ¼¼¸¶Æ÷·Î Á¦ÇѵǹǷΠ¹«Åؽº ŸÀÔÀ» SRÀÇ Å¸ÀÔ ½Ã½ºÅÛ¿¡ Ãß°¡ÇÏ¿´´Ù. |
¿µ¹®³»¿ë (English Abstract) |
Priority-driven preemptive scheduling has been used to schedule rear-time tasks in many reak-time systems. But a direct use of synchronization primitives like semaphores, monitors and rendezvous can lead to the priority inversion problem. So, real-time systems must involve a real-time synchronization technique to avoid the problem. Since most real-time systems are inherently concurrent, it is desirable to support the real-time synchronization through concurrent programming languages.
We present an extension of SR language system, called by ESR, which supports proiority-based preemptive scheduling with real-time synchronization. POSIX threads(Pthreads) is defined in POSIX.1c which is threads extention to POSIX=an IEEE standard for portable 7operating systems for opem systems. So, as a new RTS for SR, SR/RTS is developed on Pthreads; and then, SR/RTS is extended for ESR. To support the notion of priority in ESR, the syntax of SR is extended and SR compiler is modified to generate the associted codes. For real-time synchronization, the RTS for ESR supports priority inheritance protocol and priority ceiling protocol. These two protocols are applied to SR semaphores. In particular, the mutex type is added to the type system of SR since those protocols are restricted to binary semaphores. |
Å°¿öµå(Keyword) |
|
ÆÄÀÏ÷ºÎ |
PDF ´Ù¿î·Îµå
|