PureBasic - Thread

Overview

A thread is a part of a program which run asynchronously, in the background of this program. This means than it's possible to perform long operations (compress, image processing...) without halt the whole program and let the user continue to do other things. A thread is running inside the program, it's not another process. When the main program exits, all the threads are destroyed. Under PureBasic, threads are simply a procedure which is called asynchronously. The thread runs until the procedure exits.

Command Index

CreateThread
KillThread
PauseThread
ResumeThread
ThreadPriority

Supported OS

Windows

Reference Manual - Index