Class WorkerThread

A thread that is created by ThreadPool

class WorkerThread
  : Thread ;

Constructors

NameDescription
this (id, pool) Constructor

Methods

NameDescription
isRunning () Checks if thread is running
join () Waits for the thread to terminate
sleep (msec) Wait for specified amout of milliseconds
start () Starts the thread
terminate () Stops the thread immediately. This functionality is unsafe, use with care