[PATCH v2] io.c (rb_io_close): release GVL if possible
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
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]