diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-31 02:31:15 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-31 02:31:15 +0000 |
commit | 89aaf7db9eecc578491809ea145190816c30f4c5 (patch) | |
tree | 838eb4e29b889f48799d1687517fac55801ec848 /bin | |
parent | ce9911c4831cf09a7c35c04a7cc65ac24bbedec2 (diff) | |
download | ruby-89aaf7db9eecc578491809ea145190816c30f4c5.tar.gz |
thread_pthread.c (ubf_select): avoid deadlock on contention
vm->gvl.lock can be held by another thread, we must not wait
on it when called by the MJIT worker thread when it migrates
work to another thread. ubf_select is designed to do retrying
anyways, so it has no obligation to wake up a timer thread.
cf. http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/1437880
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions