From: Yohanes Santoso Date: 2005-08-10T04:22:51+09:00 Subject: Re: event driven framework for ruby James Edward Gray II writes: > On Aug 9, 2005, at 12:57 PM, Yohanes Santoso wrote: > >> James Edward Gray II writes: >> >> >>> Does this do all it's socket work in C, to bypass Ruby's Thread >>> blocking issues? >>> >> >> What blocking issue? > > Writing a large chunk of data to a file, for example. Ruby will > block until the write completes. 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. YS.