55件ヒット
[1-55件を表示]
(0.030秒)
種類
- クラス (11)
- ライブラリ (11)
- インスタンスメソッド (11)
- 文書 (11)
- 特異メソッド (11)
ライブラリ
-
rinda
/ rinda (33)
クラス
キーワード
- === (11)
- DRbObjectTemplate (11)
- new (11)
-
ruby 1
. 8 . 4 feature (11)
検索結果
先頭5件
-
rinda
/ rinda (38102.0) -
Rubyで実装されたタプルスペース(Tuple Space)を扱うためのライブラリです。
... DRb.uri を使うことで rindac.rb のプロセスを
一意に同定しているからです。
# rinda_ts.rb
require 'drb/drb'
require 'rinda/tuplespace'
uri = ARGV.shift
DRb.start_service(uri, Rinda::TupleSpace.new)
puts DRb.uri
DRb.thread.join
# rindas.rb
require 'drb/......drb'
require 'rinda/rinda'
def do_it(v)
puts "do_it(#{v})"
v + v
end
uri = ARGV.shift || raise("usage: #{$0} <server_uri>")
DRb.start_service
ts = Rinda::TupleSpaceProxy.new(DRbObject.new(nil, uri))
while true
r = ts.take(['sum', nil, nil])
v = do_it(r[2])......e 'drb/drb'
require 'rinda/rinda'
uri = ARGV.shift || raise("usage: #{$0} <server_uri>")
DRb.start_service
ts = Rinda::TupleSpaceProxy.new(DRbObject.new(nil, uri))
(1..10).each do |n|
ts.write(['sum', DRb.uri, n])
end
(1..10).each do |n|
ans = ts.take(['ans', DRb.ur... -
Rinda
:: DRbObjectTemplate (14000.0) -
-
Rinda
:: DRbObjectTemplate # ===(ro) (11000.0) -
@todo
...@todo
This DRbObjectTemplate matches +ro+ if the remote object's drburi
and drbref are the same. +nil+ is used as a wildcard.... -
Rinda
:: DRbObjectTemplate . new(uri = nil , ref = nil) (11000.0) -
@todo
...@todo
Creates a new DRbObjectTemplate that will match against +uri+ and
+ref+.... -
ruby 1
. 8 . 4 feature (18.0) -
ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。
...lk:169307>))
: set_trace_func [change]
#Mon Sep 26 22:32:13 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
#
# * eval.c (set_trace_func): add rb_secure(4) to prevent adding
# tracing function.
$SAFE=4でtrace_funcの追加を禁止。
: printf [bug]
#Wed Dec 7 15:31:35 2005......(<ruby-list:40058>)), ((<ruby-dev:27496>))
: Rinda [bug]
#Sun Oct 16 14:30:05 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
#
# * lib/rinda/rinda.rb (Rinda::Tuple#initialize): check remote hash
# tuple. fixed: [ruby-list:41227]
#
# * test/rinda/test_rinda.rb: test it.
H......g
# ComplexContent#elementformdefault method.
#
# ?
#Tue Nov 8 15:32:27 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
#
# * lib/drb/ssl.rb (DRb::SSLConfig#accept): fixed typo.
# [ruby-dev:27560] [ruby-core:4627]
#
# ?
#Sat Oct 8 20:04:40 2005 Nobuyoshi Nakada <nobu@ruby-...