Difference between revisions of "love.thread.getThread"

(Initial version)
 
Line 1: Line 1:
 +
{{newin|[[0.7.0]]|type=module}}
 
Look for a thread and get its object.
 
Look for a thread and get its object.
 
== Function ==
 
== Function ==

Revision as of 15:55, 22 September 2010

Available since LÖVE 0.7.0
This module is not supported in earlier 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