Домой | Классы | Статические функции | Перечисления (ENUM) | Структуры (STRUCTURE) |
CLASS {Thread|_of_execution} , UNTESTED, NATIVE:
The {Thread} class purpose is to provide running code in a separate thread or
process totally isolated from other (and from the main) threads. The only
data which can be (partially) sharing is the thread object itself.
Be sure that threading does not make your application faster in most cases.
E.g. you can not use multi-threading to speed up sorting large arrays, or
make a lot of calculations with a lot of data. But it is possible to await
asynchronous operations.
IMPORT : {NATIVE_Thread} .
INT Handle|_of_thread , READ
BOOL Is_controller|_of_thread , READ
| |
|
| |
| |
|
BOOL Stopping|_called , READ
BOOL Terminating
| |
|
|
'BACKGROUND' , 'LOW|_PRIORITY' , 'NORMAL|_PRIORITY' , 'HIGH|_PRIORITY' , 'HIGHEST|_PRIORITY' . | |
| |
|