|Available since LÖVE 0.7.0|
|This module is not supported in earlier versions.|
Allows you to work with threads.
Threads are separate instances of the LOVE environment, running in parallel to the main code. As their code runs in a separate process, they can be used to compute complex operations without adversely affecting the frame rate of the main process. However,as they are separate environments, they cannot acces the variables and functions of the main thread, and communication between threads is limited.
|love.graphics and love.thread don't play nice together. Don't call love.graphics functions from a Thread.|
|Channel||An object which can be used to send and receive data between different threads.|
|Thread||A Thread represents a thread.|
|love.thread.getChannel||Creates or retrieves a named thread channel.|
|love.thread.getThread||Look for a thread and get its object.|
|love.thread.getThreads||Get all threads.|
|love.thread.newChannel||Creates a new unnamed thread channel.|
|love.thread.newThread||Creates a new Thread from a Lua file or FileData object.|
Tiếng Việt –