Thread to be used for evaluating a function and returning the result
through a pipe.
|
NEW(f) @public |
|
$setProc(f) @public | Set the function to be invoked by start().
|
|
$eval(f)
pipe<Titem> @public | Start the thread and return the pipe to read the result from.
|
|
$getPipe()
pipe<Titem> @public | Return the pipe to read the result from.
|
|
|
eval(f)
pipe<Titem> @public | Quick way to evaluate a function in a thread.
|
|
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
|
|