Difference between revisions of "love.thread.getChannel"

(Created page with "{{newin|0.9.0|090|type=function}} Creates or retrieves a named thread channel. == Function == === Synopsis === <source lang="lua"> threads = love.thread.getChannel( name ) </...")
 
m
Line 4: Line 4:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
threads = love.thread.getChannel( name )
+
channel = love.thread.getChannel( name )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===

Revision as of 08:40, 30 June 2013

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

Creates or retrieves a named thread channel.

Function

Synopsis

channel = love.thread.getChannel( name )

Arguments

string name
The name of the channel you want to create or retrieve.

Returns

Channel channel
A named channel object which can be further manipulated.

See Also

Other Languages