Class: Concurrent::Synchronization::Lock
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
LockableObject
|
|
Instance Chain:
self,
LockableObject
|
|
Inherits: |
Concurrent::Synchronization::LockableObject
|
Defined in: | lib/concurrent-ruby/concurrent/synchronization/lock.rb |
Overview
TODO (pitr-ch 04-Dec-2016): should be in edge
Instance Method Summary
LockableObject
- Inherited
Instance Method Details
#broadcast
[ GitHub ]# File 'lib/concurrent-ruby/concurrent/synchronization/lock.rb', line 31
def broadcast synchronize { ns_broadcast } end
#signal
[ GitHub ]# File 'lib/concurrent-ruby/concurrent/synchronization/lock.rb', line 25
def signal synchronize { ns_signal } end
#wait(timeout = nil)
[ GitHub ]# File 'lib/concurrent-ruby/concurrent/synchronization/lock.rb', line 13
def wait(timeout = nil) synchronize { ns_wait(timeout) } end
#wait_until(timeout = nil, &condition)
[ GitHub ]# File 'lib/concurrent-ruby/concurrent/synchronization/lock.rb', line 19
def wait_until(timeout = nil, &condition) synchronize { ns_wait_until(timeout, &condition) } end