´ÙÀ½ À§·Î ÀÌÀü ¸ñÂ÷ ¸®´ª½º ÇÁ·Î±×·¡¸Ó¸¦ À§ÇÑ °¡À̵å

10.2.3 ¸®´ª½º¿¡¼­ÀÇ ½ÅÈ£ (signal under Linux)

¸®´ª½º¿¡¼­, signal ÇÔ¼ö´Â SA_ONESHOT°ú SA_NOMASK ¼±ÅûçÇ×(options)À» °¡Áö°í sigactionÀ» »ç¿ëÇÏ´Â °Í°ú °°´Ù. ÀÌ°ÍÀº SVR4¿¡¼­ »ç¿ëµÇ´Â Ç¥ÁØÀûÀÎ, ½Å·ÚÇÒ ¼ö ¾ø´Â (unreliable) ½ÅÈ£ semantics¿Í ÀÏÄ¡ÇÑ´Ù.

BSD semantics »ç¿ëÇϱâ À§ÇØ signalÀ» ¿øÇÑ´Ù¸é, ´ëºÎºÐÀÇ ¸®´ª½º ½Ã½ºÅÛµéÀº ÇÔ²² ¿¬°á µÇ¾îÁú ¼ö ÀÖ´Â BSD ȣȯ¼º ¶óÀ̺귯¸®¸¦ Á¦°øÇÑ´Ù. ÀÌ ¶óÀ̺귯¸®¸¦ »ç¿ëÇϱâ À§ÇØ, compilation ¸í·É¾î(command) ÁÙ(line)¿¡ ¼±ÅûçÇ×(options)À» ´õÇÒ ¼ö ÀÖ´Ù.

  -I/usr/include/bsd -lbsd

signalÀ» »ç¿ëÇÏ´Â ÀÀ¿ëÇÁ·Î±×·¥À» Æ÷ÆÃ(porting)ÇÒ ¶§, ÇÁ·Î±×·¥ÀÌ ½ÅÈ£ Ãë±ÞÀÚ(handler) »ç¿ë¿¡ °üÇØ ¾î¶² °¡Á¤(assumption)À» ¸¸µå´ÂÁö ¼¼½ÉÇÑ ÁÖÀǸ¦ ±â¿ïÀÌ°í ¿Ã¹Ù¸¥ Çൿ(behavior)À» ¾ò±â À§ÇØ Äڵ带 ¼öÁ¤Ç϶ó (Àû´çÇÑ Á¤ÀǸ¦ °¡Áö°í ÄÄÆÄÀÏÇ϶ó) .


ÀÌÀü:10.2.2 ¸®´ª½º ½ÅÈ£ ¼±ÅûçÇ× ´ÙÀ½:10.2.4 ¸®´ª½º¿¡¼­ Áö¿øµÇ´Â ½ÅÈ£µé

Copyright (c) 1996,1997 by Euibeom.Hwang & SangEun.Oh All Rights Reserved

Email To:Webmaster , Another address
LAST UPDATE Dec 19,1997
Created Dec 19,1997