Difference between revisions of "Thread:requestTermination"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Sets a flag to terminate thread.
 
Sets a flag to terminate thread.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
thread:requestTermination()
 
thread:requestTermination()
</source>
+
</syntaxhighlight>
  
 
Checks whether the thread needs terminated in the thread or it will terminate automatically after a number of Lua instructions.
 
Checks whether the thread needs terminated in the thread or it will terminate automatically after a number of Lua instructions.
  
 
{{Thread}}
 
{{Thread}}

Latest revision as of 15:33, 13 July 2023

Available since: 2018.10
Class: Thread

Description

Sets a flag to terminate thread.

thread:requestTermination()

Checks whether the thread needs terminated in the thread or it will terminate automatically after a number of Lua instructions.