diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-01-04 12:53:06 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-01-04 12:53:06 +0000 |
commit | 9e66910b3bd85de32e95cf019ed285a36aecfd9e (patch) | |
tree | 1a31f01ea772012d0afe456ae405c8783263e620 /vm_args.c | |
parent | 79aef1272e877b67b15b00a9cded806845556a0f (diff) | |
download | ruby-9e66910b3bd85de32e95cf019ed285a36aecfd9e.tar.gz |
thread.c (call_without_gvl): spawn thread for UBF iff single-threaded
We need another native thread to call some unblocking functions
which aren't RUBY_UBF_IO or RUBY_UBF_PROCESS. Instead of a
permanent thread in <= 2.5, we can now rely on the thread cache
feature to perform interrupts.
[ruby-core:90865] [Bug #15499]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_args.c')
0 files changed, 0 insertions, 0 deletions