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

Class Method Details

.currentObject

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)

.listObject

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)

.mainObject

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)

.newObject

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)

.passObject

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)

.stopObject

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)