ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
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
Checks if a stop request has been sent to the running thread.
Example
// Si une demande d'arrêt a été envoyée au thread
IF ThreadStopRequested() THEN
// Libérer les ressources du thread
...
// Terminer le thread
ThreadEnd()
END
Syntax
<Result> = ThreadStopRequested()
<Result>: Boolean
  • True if a stop request has been sent to the running thread,
  • False otherwise.
Remarks
  • One thread requests another thread to stop via ThreadRequestStop.
  • The code of the current thread must check regularly (loops, ... ) if a stop has been requested and end properly if necessary.
  • When the code of an Thread is set to a standby function (e.g. ThreadPause, ThreadWaitSignal or EventWait), the standby is automatically terminated when an Thread stop request is made by another Thread.
Business / UI classification: Neutral code
Component: wd290vm.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 11/11/2023

Send a report | Local help