Project

General

Profile

This project is closed and read-only.

Actions

Backport #2039

closed

Backport 24413, 24416, 24442 to fix IO#select threading issue

Backport #2039: Backport 24413, 24416, 24442 to fix IO#select threading issue

Added by dazuma (Daniel Azuma) about 17 years ago. Updated over 15 years ago.


Description

=begin
See http://redmine.ruby-lang.org/issues/show/1993 in the 1.8.7 project.

Basically, there was a bug introduced between 1.8.6p287 and 1.8.6p368 which sometimes caused IO#select calls to erroneously return no results when multiple calls are in progress on different threads. It was affecting 1.8.7 as well, having been introduced into that branch between 1.8.7p72 and 1.8.7p160. It has since been corrected on the 1.8 head.

This has been affecting a great many Capistrano users on 1.8.6p368 and later patchlevels, as well as recent patchlevels of 1.8.7. (See http://capistrano.lighthouseapp.com/projects/8716/tickets/79 as well as http://net-ssh.lighthouseapp.com/projects/36253/tickets/1). We'd appreciate it if the fix on the 1.8 head could get backported to the release branches.
=end


Related issues 1 (0 open — 1 closed)

Related to Backport187 - Bug #1993: IO.select fails when called in multiple threads on 1.8.7p174Closedshyouhei (Shyouhei Urabe)Actions
Actions

Also available in: PDF Atom