Difference between revisions of "love.thread.getThread"

(Initial version)
 
m
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{newinoldin|[[0.7.0]]|070|[[0.9.0]]|090|type=function}}
 
Look for a thread and get its object.
 
Look for a thread and get its object.
 
== Function ==
 
== Function ==
Line 22: Line 23:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Look for a thread and get its object.}}
 
{{#set:Description=Look for a thread and get its object.}}
 +
== Other Languages ==
 +
{{i18n|love.thread.getThread}}

Latest revision as of 18:56, 27 December 2015

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

Other Languages