PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

New WINDEV, WEBDEV, WINDEV Mobile 25 feature!
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
Sends a stop request to a thread.
Example
// Build a thread
t is Thread(Proc, ("First parameter", 2))
// Trigger the execution of the thread
ThreadExecute(t)
...
t.RequestStop()
Syntax

Request the stop of a thread identified by a Thread variable Hide the details

<Thread>.RequestStop()
<Thread>: Thread variable
Name of the Thread variable that corresponds to the thread to stop.
Remarks
  • The thread will not be stopped automatically. The thread code has to check if the stop is requested using ThreadStopRequested, and terminate properly.
  • It is a non-locking function and it does not wait for the thread to stop. You must use <Thread variable>.Wait to wait for the thread to stop.
Business / UI classification : Neutral code
Component : wd250vm.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment