Class
Documentation?
Attributes
Read
No documentation available
Class Methods
lib/rinda/tuplespace.rb
View on GitHub
# File tmp/rubies/ruby-3.0.5/lib/rinda/tuplespace.rb, line 186
def initialize(place, ary, expires=nil)
super(ary, expires)
@place = place
@cond = place.new_cond
@found = nil
end
No documentation available
Instance Methods
#
lib/rinda/tuplespace.rb
View on GitHub
# File tmp/rubies/ruby-3.0.5/lib/rinda/tuplespace.rb, line 193
def cancel
super
signal
end
No documentation available
lib/rinda/tuplespace.rb
View on GitHub
# File tmp/rubies/ruby-3.0.5/lib/rinda/tuplespace.rb, line 202
def read(tuple)
@found = tuple
signal
end
No documentation available
#
lib/rinda/tuplespace.rb
View on GitHub
# File tmp/rubies/ruby-3.0.5/lib/rinda/tuplespace.rb, line 207
def signal
@place.synchronize do
@cond.signal
end
end
No documentation available
#
lib/rinda/tuplespace.rb
View on GitHub
# File tmp/rubies/ruby-3.0.5/lib/rinda/tuplespace.rb, line 198
def wait
@cond.wait
end
No documentation available