PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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.
Versions 17 and later
Universal Windows 10 App This function is now available for the Windows Phone applications.
New in version 17
Universal Windows 10 App This function is now available for the Windows Phone applications.
Universal Windows 10 App This function is now available for the Windows Phone applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 19 and later
WINDEVLinux This function is now available for the WINDEV applications in Linux.
Linux This function is now available for the WEBDEV sites in Linux.
New in version 19
WINDEVLinux This function is now available for the WINDEV applications in Linux.
Linux This function is now available for the WEBDEV sites in Linux.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
Linux This function is now available for the WEBDEV sites in Linux.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
IF ThreadState("Thread1") = threadSuspended THEN
ThreadResume("Thread1")
END
Syntax
<Result> = ThreadState(<Thread Name>)
<Result>: Constant
Current status of thread:
threadRunningThe thread is currently run
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 : wd240vm.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment