EnglishРусский  

Ads

Scriptius script builder
Provides the best choice in work automation and great time saving features.

CreateInstall
Freeware and commercial installers.

Cell Phone Batteries
Batteries Plus offers batteries for laptop, camcorder, cell phone, camera.

Gentee needs your help!
How to advertise with us
 
laptop battery

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.
Edit