UNIX ã§ããã»ã¹ãä¸æçã«ã¹ãªã¼ããããã«ã¯ sleep(3) ã使ãã¾ããsleep() ã¯å¼æ°ã«ç§åä½ã§ããæéãæå®ã§ããªãã®ã§ãããçãæéãæå®ãããå ´å㯠usleep(3) (ãã¤ã¯ãç§) ã nanosleep(2) (ããç§) ã使ããã¨ã«ãªãã¾ããsleep(), usleep() ã¯ã©ã¤ãã©ãªé¢æ°ãnanosleep() ã¯ã·ã¹ãã ã³ã¼ã«*1ã§ãã ãã® usleep() ã nanosleep() 㧠1ms ç¨åº¦ã®çãæéããã»ã¹ãåæ¢ããã¨ãã¦ãæ£ç¢ºã«ãã®æéã ãåæ¢ããããã¨ã¯ã§ããã§ãããããhttp://shiroikumo.at.infoseek.co.jp/linux/time/ ã«ããã³ã¼ããåèã«ãå®éã«åããã¦ã¿ã¾ããã«ã¼ãã« 2.6.19 x86_64ãCentOS 5 ã§è©¦ãã¾ãã ã¾ããnanosleep() 㧠1ms ã®ã¹ãªã¼ããè¡
{{#tags}}- {{label}}
{{/tags}}