diff options
author | seki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-08-16 15:44:47 +0000 |
---|---|---|
committer | seki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-08-16 15:44:47 +0000 |
commit | cb23f749f6397b13024b71c034462d3a24488784 (patch) | |
tree | d58415944717912cf1f1a16c27f8e6d39e4459e4 | |
parent | f176c08f0489bef97d95620a95fef58a6614de97 (diff) |
lib/rinda/ring.rb (do_reply): Fix for RingServer fails to find a
TupleSpace when TupleSpace resides in the same ruby process with
RingServer. a patch from Kent Sibilev. [ruby-core:08453]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/rinda/ring.rb | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Thu Aug 17 00:39:05 2006 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp> + + * lib/rinda/ring.rb (do_reply): Fix for RingServer fails to find a + TupleSpace when TupleSpace resides in the same ruby process with + RingServer. a path from Kent Sibilev. [ruby-core:08453] + Wed Aug 16 11:45:36 2006 Nobuyoshi Nakada <nobu@ruby-lang.org> * process.c (proc_setuid, proc_setgid, proc_seteuid, proc_setegid): diff --git a/lib/rinda/ring.rb b/lib/rinda/ring.rb index 5b2d412451..ac8a716216 100644 --- a/lib/rinda/ring.rb +++ b/lib/rinda/ring.rb @@ -80,7 +80,7 @@ module Rinda # address of the local TupleSpace. def do_reply - tuple = @ts.take([:lookup_ring, DRbObject]) + tuple = @ts.take([:lookup_ring, nil]) Thread.new { tuple[1].call(@ts) rescue nil} rescue end |