summaryrefslogtreecommitdiff
path: root/sample/timeout.rb
diff options
context:
space:
mode:
authoreregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-12 18:43:55 +0000
committereregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-12 18:43:55 +0000
commitca1c3d41fa62bf15856a1c31156b60862616b3fa (patch)
treec0110845b3915a4c2354d6d56634f4dd074557dc /sample/timeout.rb
parent5a3c024df0a83d1f64f10f028f1082e67f88c013 (diff)
downloadruby-ca1c3d41fa62bf15856a1c31156b60862616b3fa.tar.gz
Avoid creating a Thread for shutting down a DRbServer
* lib/drb/drb.rb: avoid creating a Thread and call the shutdown logic directly. Do not try to kill or join the current Thread. Thread.new { stop_service } caused "can't alloc thread (ThreadError)", which is shown with Thread.report_on_exception = true. [Bug #14171] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/timeout.rb')
0 files changed, 0 insertions, 0 deletions