W3cubDocs

/LÖVE

love.thread.newChannel

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

Create a new unnamed thread channel.

One use for them is to pass new unnamed channels to other threads via Channel:push on a named channel.

Function

Synopsis

channel = love.thread.newChannel( )

Arguments

None.

Returns

Channel channel
The new Channel object.

See Also

© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.thread.newChannel