Difference between revisions of "love.thread"

(Create love.thread page)
(Added newin template)
Line 1: Line 1:
Allows you to work with threads.
Allows you to work with threads.
== Types ==
== Types ==

Revision as of 19:29, 20 September 2010

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

Allows you to work with threads.


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


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