From: James Tucker Date: 2008-03-27T06:16:48+09:00 Subject: Re: "loop do IO.select([io], nil, nil)" eats 95% of CPU, any other way? On 26 Mar 2008, at 19:53, John Carter wrote: > As a little side comment... You can _always_ take a program written > around a select & state machine and make it multi-threaded doing > blocking I/O or conversely refactor a multi-threaded app into a select > based state machine. Assuming of course that a block in one thread won't block all other threads.