Difference between revisions of "Thread:set"
m |
|||
Line 13: | Line 13: | ||
== See Also == | == See Also == | ||
* [[parent::Thread]] | * [[parent::Thread]] | ||
+ | * [[Thread:get]] | ||
* [[TSerial]] can convert tables to/from strings, so you can pass tables between threads. | * [[TSerial]] can convert tables to/from strings, so you can pass tables between threads. | ||
[[Category:Functions]] | [[Category:Functions]] |
Revision as of 14:59, 6 February 2012
Available since LÖVE 0.8.0 |
It has been renamed from Thread:send. |
Set a value (cross-threads).
Function
Synopsis
Thread:set(name, value)
Arguments
string name
- The name of the message.
boolean, string, number or userdata value
- The contents of the message.
Returns
None.
See Also
- Thread
- Thread:get
- TSerial can convert tables to/from strings, so you can pass tables between threads.
Other Languages
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