Difference between revisions of "Thread:requestTermination"
From GiderosMobile
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| − | + | '''Available since:''' 2018.10<br/> | |
| − | ''' | + | '''Class:''' [[Thread]]<br/> |
| − | ''' | ||
| − | === | + | === Description === |
| − | + | Sets a flag to terminate thread. | |
| − | + | <source lang="lua"> | |
| − | + | thread:requestTermination() | |
| − | <source lang="lua">thread:requestTermination()</source> | + | </source> |
| − | + | Checks whether the thread needs terminated in the thread or it will terminate automatically after a number of Lua instructions. | |
| − | |||
| − | |||
| − | |||
{{Thread}} | {{Thread}} | ||
Revision as of 04:46, 11 June 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.