PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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:
Versions 25 and later
threadStopRequested
New in version 25
threadStopRequested
threadStopRequested
A stop request has been made for this thread.
threadRunningThe thread is running.
threadUnknownThe thread was not created or it was destroyed.
threadSuspendedThe thread is suspended.
<Thread name>: Character string (with quotes)
Name of thread whose status is requested. This name is given when running the thread (ThreadExecute).
Component : wd250vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment