Difference between revisions of "Thread:set"

m
m (Remove link to third party lib (TSerial).)
Line 14: Line 14:
 
* [[parent::Thread]]
 
* [[parent::Thread]]
 
* [[Thread:get]]
 
* [[Thread:get]]
* [[TSerial]] can convert tables to/from strings, so you can pass tables between threads.
 
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Set a value.}}
 
{{#set:Description=Set a value.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Thread:set}}
 
{{i18n|Thread:set}}

Revision as of 18:28, 14 October 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

Other Languages