Module: Empathy::Thread
- Defined in:
- lib/empathy.rb
Overview
Delegates to EM::Thread when in the EM reactor, otherwise plain old ::Thread
Class Method Summary collapse
-
.current ⇒ Object
Delegates to EM::Thread.current when in the EM reactor, otherwise to plain old ::Thread.current.
-
.list ⇒ Object
Delegates to EM::Thread.list when in the EM reactor, otherwise to plain old ::Thread.list.
-
.main ⇒ Object
Delegates to EM::Thread.main when in the EM reactor, otherwise to plain old ::Thread.main.
-
.new ⇒ Object
Delegates to EM::Thread.new when in the EM reactor, otherwise to plain old ::Thread.new.
-
.pass ⇒ Object
Delegates to EM::Thread.pass when in the EM reactor, otherwise to plain old ::Thread.pass.
-
.stop ⇒ Object
Delegates to EM::Thread.stop when in the EM reactor, otherwise to plain old ::Thread.stop.
Class Method Details
.current ⇒ Object
Delegates to EM::Thread.current when in the EM reactor, otherwise to plain old ::Thread.current
193 |
# File 'lib/empathy.rb', line 193 create_delegate_module('Thread',:new, :list, :current, :stop, :pass, :main) |
.list ⇒ Object
Delegates to EM::Thread.list when in the EM reactor, otherwise to plain old ::Thread.list
193 |
# File 'lib/empathy.rb', line 193 create_delegate_module('Thread',:new, :list, :current, :stop, :pass, :main) |
.main ⇒ Object
Delegates to EM::Thread.main when in the EM reactor, otherwise to plain old ::Thread.main
193 |
# File 'lib/empathy.rb', line 193 create_delegate_module('Thread',:new, :list, :current, :stop, :pass, :main) |
.new ⇒ Object
Delegates to EM::Thread.new when in the EM reactor, otherwise to plain old ::Thread.new
193 |
# File 'lib/empathy.rb', line 193 create_delegate_module('Thread',:new, :list, :current, :stop, :pass, :main) |
.pass ⇒ Object
Delegates to EM::Thread.pass when in the EM reactor, otherwise to plain old ::Thread.pass
193 |
# File 'lib/empathy.rb', line 193 create_delegate_module('Thread',:new, :list, :current, :stop, :pass, :main) |
.stop ⇒ Object
Delegates to EM::Thread.stop when in the EM reactor, otherwise to plain old ::Thread.stop
193 |
# File 'lib/empathy.rb', line 193 create_delegate_module('Thread',:new, :list, :current, :stop, :pass, :main) |