Difference between revisions of "Thread.new"
From GiderosMobile
m |
|||
| Line 8: | Line 8: | ||
local thread = Thread.new() | local thread = Thread.new() | ||
</source> | </source> | ||
| − | |||
| − | |||
| − | |||
=== Return values === | === Return values === | ||
Revision as of 04:35, 11 June 2023
Available since: 2018.10
Class: Thread
Description
Creates a new Thread object. This manages one real hardware thread which you can set Lua functions to be run inside.
local thread = Thread.new()
Return values
thread: (Thread) new Thread object