ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Process functions / Threads, semaphores, signals and mutex
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
ThreadState (Function)
In french: ThreadEtat
Returns the current status of a thread.
Example
IF ThreadState("Thread1") = threadSuspended THEN
ThreadResume("Thread1")
END
Syntax
<Result> = ThreadState(<Thread name>)
<Result>: Constant
Current status of thread:
threadRunningThe thread is running.
threadStopRequestedA stop request has been made for this thread.
threadSuspendedThe thread is suspended.
threadUnknownThe thread was not created or it was destroyed.
<Thread name>: Character string
Name of thread whose status is requested. This name is given when running the thread (ThreadExecute).
Component: wd290vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help