summaryrefslogtreecommitdiff
path: root/rubystub.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-31 02:31:15 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-31 02:31:15 +0000
commit89aaf7db9eecc578491809ea145190816c30f4c5 (patch)
tree838eb4e29b889f48799d1687517fac55801ec848 /rubystub.c
parentce9911c4831cf09a7c35c04a7cc65ac24bbedec2 (diff)
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 'rubystub.c')
0 files changed, 0 insertions, 0 deletions