Difference between revisions of "love.thread"

(Create love.thread page)
 
(Added newin template)
Line 1: Line 1:
 +
{{newin|[[0.7.0]]}}
 
Allows you to work with threads.
 
Allows you to work with threads.
 
== Types ==
 
== Types ==

Revision as of 17:29, 20 September 2010

Available since LÖVE 0.7.0
It is not supported in earlier versions.

Allows you to work with threads.

Types

ChannelAn object which can be used to send and receive data between different threads.
ThreadA Thread represents a thread.

Functions

love.thread.getChannelCreates or retrieves a named thread channel.
love.thread.getThreadLook for a thread and get its object.
love.thread.getThreadsGet all threads.
love.thread.newChannelCreates a new unnamed thread channel.
love.thread.newThreadCreates a new Thread from a filename, string or FileData object containing Lua code.

See Also