Difference between revisions of "love.thread"
(Added type argument for Template:newin) |
|||
Line 1: | Line 1: | ||
{{newin|[[0.7.0]]|type=module}} | {{newin|[[0.7.0]]|type=module}} | ||
Allows you to work with threads. | Allows you to work with threads. | ||
+ | {{notice|[[love.graphics]] and [[love.thread]] don't play nice together. Don't call love.graphics functions from a [[Thread]].}} | ||
== Types == | == Types == | ||
{{#ask: [[Category:Types]] [[parent::love.thread]] | {{#ask: [[Category:Types]] [[parent::love.thread]] |
Revision as of 03:43, 18 November 2010
Available since LÖVE 0.7.0 |
This module is not supported in earlier versions. |
Allows you to work with threads.
love.graphics and love.thread don't play nice together. Don't call love.graphics functions from a Thread. |
Types
Channel | An object which can be used to send and receive data between different threads. |
Thread | A Thread represents a thread. |
Functions
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 filename, string or FileData object containing Lua code. |
See Also
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info