AsyncIOã«ã¤ãã¦(ãã®1)ã®ç¶ã. NONBlockã§IOå¦çãããæ¹æ³ã¨ãã¦selectã¨ã·ã°ãã«ã使ãæ¹æ³ãããã¨ããã®ãååã®è©±ã ã£ãã, selectã¯selectããkqueue,epollã§è¿°ã¹ãã¨ãã, ãã¸ã¼ã«ã¼ããããããããã¾ãå¹çã¯ãããªã,ã·ã°ãã«æ¹å¼ã¯å¶ç´ããããããã¾ã使ãåæããããªã. ã¨ããããã§æ°ããåºã¦ããã®ãPOSIX Asynchronous I/O(AIO)ã¨ããæ©æ§ã . ããã¯IOã®waitãã¤ãã³ãããªãã³å½¢å¼ã«ãã¦ãã¸ã¼ã«ã¼ãããªãããã¨ãããã®ã . ããã°ã©ã ã®æµãã¨ãã¦ã¯ä¸è¨ã®ããã«ãªã. 1. 対象ã¨ãªããã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ã«ã·ã°ãã«ãã³ãã©ãããã¯ã¤ãã³ããã³ãã©ãç»é²ãã¦ãã 2. aio_read/aio_writeãå¼ã³åºãã¨å¶å¾¡ã¯ããã«ã¦ã¼ã¶ã«æ»ã. 3ï¼å¯¾è±¡ã®ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ã®å¦çãçµããã¨ç»é²ããã¦ãããã³
{{#tags}}- {{label}}
{{/tags}}