Module: Zookeeper::Common
- Included in:
- ZookeeperBase, ZookeeperCommon
- Defined in:
- lib/zookeeper/common.rb,
lib/zookeeper/common/queue_with_pipe.rb
Defined Under Namespace
Classes: QueueWithPipe
Instance Method Summary collapse
Instance Method Details
#event_dispatch_thread? ⇒ Boolean
6 7 8 |
# File 'lib/zookeeper/common.rb', line 6 def event_dispatch_thread? @dispatcher && (@dispatcher == Thread.current) end |