From: Daniel Berger Date: 2005-08-26T07:08:16+09:00 Subject: Re: [ANN] EventLoop 0.0.20050825.1600 Joel VanderWerf wrote: > Joel VanderWerf wrote: > >>Tanaka Akira wrote: >> >> >>>In article <430DFCD4.6000405@path.berkeley.edu>, >>> Joel VanderWerf writes: >>> >>> >>> >>> >>>>I *love* ruby threads. Still, I wish ruby's thread scheduler would >>>>handle more types of blocking than select can handle, such as waiting >>>>for a file lock. >>> >>> >>>File#flock works well since Ruby 1.8.2. It blocks only the calling >>>thread. It doesn't block other threads. >> >> >>Wow! Thanks. >> > > > I updated FSDB(*) to 0.5 to take advantage of this, in case it's running > on 1.8.2 or better. In code with several processes each with several > threads, I see about a 12%-17% speed boost, because of not having to use > the polling hack. > > (*) http://redshift.sourceforge.net/fsdb/ > In other news, 1989 called. They want their version numbering system back. Please give us a sane version number. :) Dan