Class: EventMachine::Synchrony::Thread::Mutex
- Inherits:
-
Object
- Object
- EventMachine::Synchrony::Thread::Mutex
- Defined in:
- lib/em-synchrony/thread.rb
Overview
Fiber-aware drop-in replacements for thread objects
Instance Method Summary collapse
Instance Method Details
#synchronize(&blk) ⇒ Object
7 8 9 |
# File 'lib/em-synchrony/thread.rb', line 7 def synchronize( &blk ) blk.call end |