love.thread.newThread
Creates a new Thread from a filename, string or FileData object containing Lua code.
thread = love.thread.newThread( filename )
filename string The name of the Lua file to use as the source.
thread Thread A new Thread that has yet to be started.
thread = love.thread.newThread( fileData )
fileData FileData The FileData containing the Lua code to use as the source.
thread Thread A new Thread that has yet to be started.
thread = love.thread.newThread( codestring )
codestring string A string containing the Lua code to use as the source. It needs to either be at least 1024 characters long, or contain at least one newline.
thread Thread A new Thread that has yet to be started.