ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Process management 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.
New in version 28
Android This function is now available for Android applications.
Android Widget This function is now available in Android widget mode.
Java This function is now available for Java applications.
Example
// If a stop request was sent to the thread
IF ThreadStopRequested() THEN
// Free thread resources
...
// End 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.
Business / UI classification: Neutral code
Component: wd280vm.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/30/2023

Send a report | Local help