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 | 1197bb3a8ef1a9d9e408e821e615ff39bb3d74d7 (patch) | |
| tree | d58415944717912cf1f1a16c27f8e6d39e4459e4 | |
| parent | 027db93b2b65a38ebfe7ee1235b337797b1dcff0 (diff) | |
| download | ruby-1197bb3a8ef1a9d9e408e821e615ff39bb3d74d7.tar.gz ruby-1197bb3a8ef1a9d9e408e821e615ff39bb3d74d7.tar.xz ruby-1197bb3a8ef1a9d9e408e821e615ff39bb3d74d7.zip | |
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: http://svn.ruby-lang.org/repos/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 5b2d41245..ac8a71621 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 |
