W3cubDocs

/LÖVE

love.thread.getThread

Available since LÖVE 0.7.0 and removed in LÖVE 0.9.0
This function is not supported in earlier or later versions.

Look for a thread and get its object.

Function

Synopsis

thread = love.thread.getThread( name )

Arguments

string name
The name of the thread to return.

Returns

Thread thread
The thread with that name.

Function

Synopsis

thread = love.thread.getThread( )

Arguments

None.

Returns

Thread thread
The current thread.

See Also

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