Project

General

Profile

Feature #4570

[PATCH v2] io.c (rb_io_close): release GVL if possible

Added by normalperson (Eric Wong) about 9 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Target version:
[ruby-core:35711]

Description

=begin
v2 of this change should fix issue #4558 and
be cleaner than the original proposed fixes.

Also pushed to my repo: git pull git://bogomips.org/ruby io-close-nogvl2
=end


Files


Related issues

Related to Ruby master - Bug #4527: [PATCH] IO#close releases GVL if possibleClosedkosaki (Motohiro KOSAKI)03/26/2011Actions
Related to Ruby master - Bug #4558: TestSocket#test_closed_read fails after r31230Closedkosaki (Motohiro KOSAKI)04/07/2011Actions
#1

Updated by shyouhei (Shyouhei Urabe) about 8 years ago

  • Status changed from Open to Assigned
#2

Updated by kosaki (Motohiro KOSAKI) over 7 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r36932.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • io.c (nogvl_close, maygvl_close, nogvl_fclose, maygvl_fclose): new functions.
  • io.c (fptr_finalize): release GVL if possible. Patched by Eric Wong. [Feature #4570] [ruby-core:35711]

Also available in: Atom PDF