Class
Documentation?
Attributes
Read
No documentation available
Class Methods
lib/rinda/tuplespace.rb
View on GitHub
# File tmp/rubies/ruby-2.4.10/lib/rinda/tuplespace.rb, line 187
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-2.4.10/lib/rinda/tuplespace.rb, line 194
def cancel
super
signal
end
No documentation available
lib/rinda/tuplespace.rb
View on GitHub
# File tmp/rubies/ruby-2.4.10/lib/rinda/tuplespace.rb, line 203
def read(tuple)
@found = tuple
signal
end
No documentation available
#
lib/rinda/tuplespace.rb
View on GitHub
# File tmp/rubies/ruby-2.4.10/lib/rinda/tuplespace.rb, line 208
def signal
@place.synchronize do
@cond.signal
end
end
No documentation available
#
lib/rinda/tuplespace.rb
View on GitHub
# File tmp/rubies/ruby-2.4.10/lib/rinda/tuplespace.rb, line 199
def wait
@cond.wait
end
No documentation available