From: Yohanes Santoso Date: 2005-08-10T05:49:28+09:00 Subject: Re: event driven framework for ruby James Edward Gray II writes: > On Aug 9, 2005, at 2:22 PM, Yohanes Santoso wrote: > >> Disk I/O will always block the process executing it. only way to avoid >> that is to have another process do the disk I/O (at least on linux, >> *bsd; there used to have a unix that does not have this limitation, >> but i can't remember the name). Using native thread also does not help >> since the whole process is blocked. > > Non-blocking IO is another solution. > > James Edward Gray II I know no POSIX system that honours O_NONBLOCK for disk I/O. That includes linux, *bsd. OTOH, AsyncIO is supposed to be a solution to this problem. But except for win32, AsyncIO support on posix systems is spotty. YS.