Thread
This library allows you to create threads and work with them. The methods described above are applied to variables of the thread type. For using this library, it is required to specify the file thread.g (from lib\thread subfolder) with include command.
include : $"...\gentee\lib\thread\thread.g"
Methods
thread.create | Create a thread. |
thread.getexitcode | Get the thread exit code. |
thread.isactive | Checking if a thread is active. |
thread.resume | Resuming a thread. |
thread.suspend | Stop a thread. |
thread.terminate | Terminating a thread. |
thread.wait | Waiting till a thread is exited. |
Functions
exitthread | Exiting the current thread. |
sleep | Pause the current thread for the specified time. |