Difference between revisions of "Thread:requestTermination"
From GiderosMobile
(Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' 2018.10<br/> '''<translate>Class</translate>:''' Thread<br/> === <translat...") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
(3 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}} | |
− |
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.