class Celluloid::Thread
Attributes
busy[RW]
Public Instance Methods
<<(proc)
click to toggle source
# File lib/celluloid/thread.rb, line 38 def <<(proc) self[:celluloid_queue] << proc self end
actor()
click to toggle source
Obtain the Celluloid::Actor
object for this thread
# File lib/celluloid/thread.rb, line 19 def actor self[:celluloid_actor] end
call_chain_id()
click to toggle source
Obtain the call chain ID for this thread
# File lib/celluloid/thread.rb, line 34 def call_chain_id self[:celluloid_chain_id] end
celluloid?()
click to toggle source
# File lib/celluloid/thread.rb, line 3 def celluloid? true end
mailbox()
click to toggle source
Obtain the Celluloid
mailbox for this thread
# File lib/celluloid/thread.rb, line 29 def mailbox self[:celluloid_mailbox] end
role()
click to toggle source
Obtain the role of this thread
# File lib/celluloid/thread.rb, line 10 def role self[:celluloid_role] end
role=(role)
click to toggle source
# File lib/celluloid/thread.rb, line 14 def role=(role) self[:celluloid_role] = role end
task()
click to toggle source
Obtain the Celluloid
task object for this thread
# File lib/celluloid/thread.rb, line 24 def task self[:celluloid_task] end