1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/-ext-
kosaki 8ecd3b7114 * thread.c (thread_start_func_2): don't interrupt when last thread exit
unless main thread is already exited. Otherwise main thread could be
  wrongly interrupted when it uses rb_thread_call_without_gvl(). Patch
  by Takehiro Kubo. [Bug #11237][ruby-dev:49044][GH-898]
* test/-ext-/gvl/test_last_thread.rb: new test for the above fix.
* ext/-test-/gvl/call_without_gvl/call_without_gvl.c: new ext for the
  above test.
* ext/-test-/gvl/call_without_gvl/extconf.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-06-14 22:52:01 +00:00
..
array
bignum
bug_reporter test_rubyoptions.rb: use assert_in_out_err 2015-03-03 08:19:43 +00:00
class
debug
exception
file
float
funcall
gvl * thread.c (thread_start_func_2): don't interrupt when last thread exit 2015-06-14 22:52:01 +00:00
hash
iseq_load
iter
load
marshal
method
num2int
path_to_class
postponed_job
proc
rational
st
string test_nofree.rb: fix commit miss 2015-06-12 08:04:39 +00:00
struct
symbol proc.c: respond_to_missing? at Method 2015-03-20 09:41:06 +00:00
tracepoint
typeddata
wait_for_single_fd
win32
test_bug-3571.rb
test_bug-5832.rb
test_notimplement.rb intern.h: rb_f_notimplement for ext on Windows 2015-05-18 06:31:42 +00:00
test_printf.rb
test_recursion.rb