Module: Higgs::Synchronized

Included in:
Index
Defined in:
lib/higgs/thread.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#__lock__Object

Returns the value of attribute __lock__.



23
24
25
# File 'lib/higgs/thread.rb', line 23

def __lock__
  @__lock__
end

Class Method Details

.included(mod) ⇒ Object



17
18
19
20
21
# File 'lib/higgs/thread.rb', line 17

def self.included(mod)
  r = super
  mod.extend(SynchronizedSyntax)
  r
end