From: Daniel Brumbaugh Keeney Date: 2008-03-06T04:54:58+09:00 Subject: Re: multithreading sysread error On Wed, Mar 5, 2008 at 3:10 AM, Venkat Bagam wrote: > Hi All, > > I am a newbie at scraping and multi-threading too. Recently, I > have to implement these two in one of my application. Please find my > code in the attachment. I was facing some peculiar issues and the reason > I don't know!!! The code works pretty well on my ubuntu7.04 but throws > some "sysread", "read_status_line" errors when run on Windows. What > could be the obvious problem? Any help greatly appreciated. > > regards, > Venkat Bagam sysread uses a "low-level" read. In general, I wouldn't be confident that anything marked as "low-level" can be mixed well with multi-threading. On my system, sysread is slower than ordinary read, so I fail to see the advantage versus the standard IO#read. Daniel Brumbaugh Keeney