Documentation?
# File lib/rinda/tuplespace.rb, line 186 def initialize(place, ary, expires=nil) super(ary, expires) @place = place @cond = place.new_cond @found = nil end
Rinda::TupleEntry::new
# File lib/rinda/tuplespace.rb, line 193 def cancel super signal end
Rinda::TupleEntry#cancel
# File lib/rinda/tuplespace.rb, line 202 def read(tuple) @found = tuple signal end
# File lib/rinda/tuplespace.rb, line 207 def signal @place.synchronize do @cond.signal end end
# File lib/rinda/tuplespace.rb, line 198 def wait @cond.wait end
Ruby Core © 1993–2020 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.