The builtin type thread.
A thread that will execute a method.
|
NEW(proc) @public | Create a new thread that will execute proc.
|
|
NEW(func) @public | Create a new thread that will execute func.
|
|
$body() @public | The default method to execute: call the method specified at creation or
with setProc().
|
|
$setProc(proc) @public | Set the method to be invoked by the default body() method.
|
|
Inherited from THREAD.ThreadBase:
|
string |
$name
@public
| optional name, NIL when not set
|
THREAD.State |
$state
@public
| state of the thread
|
Type |
$type
@public
| type of thread
|
int |
$ctxLen
@file
|
|
|
NEW() @public | Create a new thread.
|
|
$setName(name)
ThreadBase @file | Set the name of the thread.
|
|
$start()
ThreadBase @public | Start executing the thread.
|
|
$wait() @public | Wait in the current thread for the thread of this object to finish.
|
|
$kill() @public | Kill the thread, stop its execution.
|
|
$remove() @public | Not Implemented Yet
|
|