Module: Rubcask::Concurrency::FakeMonitorMixin
- Defined in:
- lib/rubcask/concurrency/fake_monitor_mixin.rb
Overview
Fake of MonitorMixin module that implements a subset of methods It does not do any synchronization
Instance Method Summary collapse
- #mon_enter ⇒ Object
- #mon_exit ⇒ Object
- #mon_synchronize ⇒ Object (also: #synchronize)
Instance Method Details
#mon_enter ⇒ Object
14 15 |
# File 'lib/rubcask/concurrency/fake_monitor_mixin.rb', line 14 def mon_enter end |
#mon_exit ⇒ Object
17 18 |
# File 'lib/rubcask/concurrency/fake_monitor_mixin.rb', line 17 def mon_exit end |
#mon_synchronize ⇒ Object Also known as: synchronize
9 10 11 |
# File 'lib/rubcask/concurrency/fake_monitor_mixin.rb', line 9 def mon_synchronize yield end |