Difference between revisions of "Thread:requestTermination"
From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>") |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' 2018.10<br/> | |
− | ''' | + | '''Class:''' [[Thread]]<br/> |
− | ''' | ||
− | === | + | === Description === |
− | + | Sets a flag to terminate thread. | |
− | + | <syntaxhighlight lang="lua"> | |
− | < | + | thread:requestTermination() |
− | + | </syntaxhighlight> | |
− | + | 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 14: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.