Class Thread

Base class for creating threads

class Thread ;

Constructors

NameDescription
this (func) Constructor. Initializes Thread using a function pointer
this (dlgt) Constructor. Initializes Thread using a delegate

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