Module: Concurrent::Synchronization
- Defined in:
- lib/concurrent/synchronization.rb,
lib/concurrent/synchronization/lock.rb,
lib/concurrent/synchronization/object.rb,
lib/concurrent/synchronization/volatile.rb,
lib/concurrent/synchronization/condition.rb,
lib/concurrent/synchronization/mri_object.rb,
lib/concurrent/synchronization/rbx_object.rb,
lib/concurrent/synchronization/jruby_object.rb,
lib/concurrent/synchronization/abstract_object.rb,
lib/concurrent/synchronization/abstract_struct.rb,
lib/concurrent/synchronization/lockable_object.rb,
lib/concurrent/synchronization/truffleruby_object.rb,
lib/concurrent/synchronization/rbx_lockable_object.rb,
lib/concurrent/synchronization/jruby_lockable_object.rb,
lib/concurrent/synchronization/mutex_lockable_object.rb,
lib/concurrent/synchronization/abstract_lockable_object.rb
Overview
noinspection RubyInstanceVariableNamingConvention
Defined Under Namespace
Classes: Object
Constant Summary collapse
- Volatile =
Volatile adds the attr_volatile class method when included.
foo = Foo.new foo.bar => 1 foo.bar = 2 => 2
case when Concurrent.on_cruby? MriAttrVolatile when Concurrent.on_jruby? JRubyAttrVolatile when Concurrent.on_rbx? RbxAttrVolatile when Concurrent.on_truffleruby? TruffleRubyAttrVolatile else MriAttrVolatile end
Instance Method Summary collapse
- #broadcast ⇒ undocumented
- #initialize(*args, &block) ⇒ undocumented
- #signal ⇒ undocumented
- #synchronize ⇒ undocumented
- #wait(timeout = nil) ⇒ undocumented
- #wait_until(timeout = nil, &condition) ⇒ undocumented
Instance Method Details
#broadcast ⇒ undocumented
|
# File 'lib/concurrent/synchronization/lockable_object.rb', line 69
|
#initialize(*args, &block) ⇒ undocumented
|
# File 'lib/concurrent/synchronization/lockable_object.rb', line 54
|
#signal ⇒ undocumented
|
# File 'lib/concurrent/synchronization/lockable_object.rb', line 66
|
#synchronize ⇒ undocumented
|
# File 'lib/concurrent/synchronization/lockable_object.rb', line 57
|
#wait(timeout = nil) ⇒ undocumented
|
# File 'lib/concurrent/synchronization/lockable_object.rb', line 63
|
#wait_until(timeout = nil, &condition) ⇒ undocumented
|
# File 'lib/concurrent/synchronization/lockable_object.rb', line 60
|