Project

General

Profile

Actions

Bug #4527

closed

[PATCH] IO#close releases GVL if possible

Added by normalperson (Eric Wong) about 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
ruby 1.9.3dev (2011-03-25 trunk 31181) [x86_64-linux]
[ruby-core:35555]

Description

=begin
close() may block for certain file types (NFS, SO_LINGER
sockets, inotify), so let other threads run.
=end


Files

0001-IO-close-releases-GVL-if-possible.patch (1.6 KB) 0001-IO-close-releases-GVL-if-possible.patch [PATCH] IO#close releases GVL if possible normalperson (Eric Wong), 03/26/2011 03:35 AM

Related issues

Related to Ruby master - Bug #4558: TestSocket#test_closed_read fails after r31230Closedkosaki (Motohiro KOSAKI)04/07/2011Actions
Related to Ruby master - Feature #4570: [PATCH v2] io.c (rb_io_close): release GVL if possibleClosedkosaki (Motohiro KOSAKI)04/12/2011Actions
Actions

Also available in: Atom PDF