|
|
|
|
|
ThreadStopRequested (Function) In french: ThreadArrêtDemandé Checks if a stop request has been sent to the running thread.
IF ThreadStopRequested() THEN
...
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
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|