Difference between revisions of "Thread:requestTermination"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
Line 5: | Line 5: | ||
=== Description === | === Description === | ||
Sets a flag to terminate thread. | Sets a flag to terminate thread. | ||
− | < | + | <syntaxhighlight lang="lua"> |
thread:requestTermination() | thread:requestTermination() | ||
</source> | </source> |
Revision as of 14:31, 13 July 2023
Available since: 2018.10
Class: Thread
Description
Sets a flag to terminate thread. <syntaxhighlight lang="lua"> thread:requestTermination() </source>
Checks whether the thread needs terminated in the thread or it will terminate automatically after a number of Lua instructions.