ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
Version: 151617181920212223242526
True if the thread was stopped or if the thread does not exist,False if the thread is locked
Name of thread to stop. This name is given when running the thread (ThreadExecute). Special cases: If this parameter corresponds to an empty string (""), the current thread is stopped. If the current thread is the main thread, ThreadStop is equivalent to EndProgram. Only this behavior is allowed. ThreadStop can only be used on the current thread. If the name of the thread does not exist, ThreadStop has no effect and it returns True. If the name of the thread is a child thread or a sibling thread, ThreadStop waits for the current WLanguage function (HReadFirst for example) to end. In this case, ThreadStop is a locking function.If this parameter corresponds to the threadMain constant, the main thread is stopped.Otherwise, a WLanguage error is triggered.
Maximum timeout in hundredths of a second. If the thread is not stopped at the end of specified duration, <Result> is set to False. If this parameter is not specified or if it corresponds to the Infinite constant, the wait is infinite.This parameter can correspond to: an integer corresponding to the number of hundredths of a second,a Duration variable,Versions 23 and laterthe direct indication of duration (1 s or 10 ms for example). New in version 23the direct indication of duration (1 s or 10 ms for example). the direct indication of duration (1 s or 10 ms for example).
Special case: Stopping a thread that contains the SocketWairForConnexion function
Last update: 03/01/2021
Send a report | Local help
Searching...
I accept the terms of the license agreement
All you have to do is configure your product as follows: