A thread object allowing for multi-threaded scripts within the ferite environment
This class provides the basic framework for threading. To create a thread you have to inherit from this base class and create a run method. Once that is done You create an instance of the object and call the .start() method NOT the .run() method. This causes a thread to be spawned and the .run() method called. The thread will exit when the .run() method has completed. If you implement your own constructor is is VITAL that you call super.Thread() to make sure that the native side of the thread is instantiated correctly.
|
|
|
|
|
|
|