Classes and methods for thread support.
Still very much under development.
ENUM |
State @public | The possible states a thread can be in.
|
ENUM |
Type @public | The possible types of threads.
|
CLASS |
E_Thread @public | Exception thrown when there is a thread related error.
|
CLASS |
ThreadBase @public | Base class for Thread and EvalThread
|
CLASS |
Thread @public | The builtin type thread.
|
CLASS |
EvalThread<Titem> @public | Thread to be used for evaluating a function and returning the result
through a pipe.
|
CLASS |
Lock @public | The builtin type lock: An object to get exclusive access.
|
CLASS |
AutoLock @public | The builtin type autoLock: an object that keeps a lock and releases it
when destructed.
|
CLASS |
Cond @public | The builtin type cond: An object to wait on a condition.
|
|
|
eval<Titem>(f)
pipe<Titem> @public | Create a thread to evaluate f and return a pipe from which the
result can be read.
|
|
threads()
list<thread> @public | Return a list of all currently created threads. TODO
|
|
current()
thread @public | Return the object associated with the current thread. TODO
|
|
wait() @public | Blocks until all threads, except the current one, have finished.
|
|