Project

General

Profile

Actions

Bug #2637

closed

unable to select for < 0.1s in windows

Added by rogerdpack (Roger Pack) over 14 years ago. Updated about 13 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 1.9.2dev (2010-01-24 trunk 26391) [i386-mingw32]
Backport:
[ruby-core:27753]

Description

=begin
in 1.9:

a = TCPSocket.new 'google.com', 80
Benchmark.realtime { IO.select([a], nil, nil, 0) }
=> 0.109375

in 1.8

a = TCPSocket.new 'google.com', 80
Benchmark.realtime { IO.select([a], nil, nil, 0) }
=> 0.0

This slow downs drb a lot, so is somewhat of a blocker.
Thanks.
-r
=end


Related issues 1 (0 open1 closed)

Related to Ruby master - Feature #3587: windows: unable to sleep < 0.015sClosed07/19/2010Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0