1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/drb/extservm.rb (invoke_service): use Thread.exclusive instead of

Thread.critical


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
seki 2007-09-13 15:38:04 +00:00
parent 1232fd4a9b
commit 1daccc0a81
2 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,8 @@
Fri Sep 14 00:34:25 2007 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
* lib/drb/extservm.rb (invoke_service): use Thread.exclusive instead of
Thread.critical
Wed Sep 12 23:12:22 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
* ruby.c (proc_options): -W should be allowed in RUBYOPT

View file

@ -73,10 +73,11 @@ module DRb
end
def invoke_service(name)
Thread.critical = true
@waiting.push Thread.current
@queue.push name
Thread.stop
Thread.exclusive do
@waiting.push Thread.current
@queue.push name
Thread.stop
end
end
def invoke_service_command(name, command)