Project

General

Profile

Actions

Feature #4570

closed

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

Added by normalperson (Eric Wong) almost 13 years ago. Updated over 11 years ago.

Status:
Closed
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 2 (0 open2 closed)

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
Actions #1

Updated by shyouhei (Shyouhei Urabe) about 12 years ago

  • Status changed from Open to Assigned
Actions #2

Updated by kosaki (Motohiro KOSAKI) over 11 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]
Actions

Also available in: Atom PDF

Like0
Like0Like0