Class Thread
In: lib/mues/workerthread.rb  (CVS)
Parent: Object

Add a description attribute to the thread class for diagnostics

Methods

new  

External Aliases

initialize -> __initialize

Attributes

desc  [RW]  The thread description

Public Class methods

Override the default initializer to set the description attribute for all threads.

[Source]

# File lib/mues/workerthread.rb, line 44
    def initialize( *args, &block )
        __initialize( *args, &block )
        self.desc = "(unknown): started from #{caller(1)[0]}"
    end

[Validate]