2011-04-01ãã1ã¶æéã®è¨äºä¸è¦§
å æ¥ãUNIX V6ã«ãããsleep/wakeupé¢æ°ã®ãã¨ãæ¸ãããPlan 9ãsleep/wakeupé¢æ°ãæã£ã¦ããã¨æ¸ãããããã¾ã©ãã®OSã§ã¯ã©ã®ãããªå®è£ ã«ãªã£ã¦ããã®ãããã©ãã¼ã¢ãããã¦ããããã¨æãã Linuxã«ã¯sleep_on/wake_upã£ã¦é¢æ°ããããå®éã«ã¯interrâ¦
ä»æ¥ã¯ã·ã°ãã«ã®æ´å²ã調ã¹ã¦ã¿ããã¨æããã·ã°ãã«ã¨ããã®ã¯UNIXã«ãããããã»ã¹ééä¿¡ã®ä¸æ段ã§ããããCPUã«ãããä¾å¤ã®ããã«ãããã»ã¹ã«ã¨ã£ã¦éåæã«çºçãããã®ãªã®ã§ããã®å®è£ ã¯ããããé¢åãããããããã£ã¦ããããåé¡ããããé·å¹´ã®â¦
æ¨æ¥ã¯sleep/wakeupã®è©±ãæ¸ããããããã ãããã°ã«ã¼ãã«å ã®åæã»æä»å¶å¾¡ãå®ç§ãã¨ããã¨ããã§ã¯ãªããsleepããã«ã¯ã³ã³ããã¹ããå¿ è¦ãªã®ã§ãå²è¾¼ã¿ãã³ãã©å ã§sleepã§ããªããããã§ãå²è¾¼ã¿å¦çãåãã¨ã¾ããç®æã¯å²è¾¼ã¿ãç¦æ¢ããå¿ è¦ããâ¦
å¤å ¸çãªUNIXã§ã¯ãã«ã¼ãã«å ã§èµ°è¡ä¸ã®ããã»ã¹ããããã¡ãIOãªã©ã®å ±æè³æºã«ã¢ã¯ã»ã¹ããã¨ãã®åææ©æ§ã¨ãã¦sleepã¨wakeupé¢æ°ãæä¾ãã¦ãããã¡ãã£ã¨æ³¨æãå¿ è¦ãªã®ã¯ããããã®é¢æ°ã¯sleep(1)ã¨ç´æ¥åä½ã«é¢ä¿ãªããã¨ãå®ã¯V6ã«ã¯sleep(1)ãå®è£ â¦
å é±ã®@magoroku15ããã®ustã§ãã·ã¹ãã ã³ã¼ã«çªå·ã®æ´å²ãåç §ãããV7ã«ã¯mkdirã·ã¹ãã ã³ã¼ã«ããªãã¦ãmknodã¨linkã使ã£ã¦ãããã ããã¨ãã話é¡ãåºã¦ãããããã«è§¦çºãããmkdirã«ã¤ãã¦èª¿ã¹ã¦ã¿ãã¨ããã試è¡é¯èª¤ã®çãããããè¦ããé¢ç½ãã£ãâ¦