Thread exists: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{FuncTitle|thread_exists|thread}} == Description == Checks if the given thread exists and returns the result. == Parameters == {| class="funcpars" ! Parameter !! Data Type !! D...") |
mNo edit summary |
||
Line 16: | Line 16: | ||
<syntaxhighlight lang="edl"> | <syntaxhighlight lang="edl"> | ||
// demonstrates checking if a thread exists or not | // demonstrates checking if a thread exists or not | ||
if (thread_exists( | if (thread_exists(asyncThread)) { | ||
// thread does exist | // thread does exist | ||
} else { | } else { |
Latest revision as of 14:16, 25 August 2014
Description
Checks if the given thread exists and returns the result.
Parameters
Parameter | Data Type | Description |
---|---|---|
thread | integer | index of the thread |
Return Values
boolean: Returns whether or not the thread exists.
Example Call
// demonstrates checking if a thread exists or not
if (thread_exists(asyncThread)) {
// thread does exist
} else {
// thread does not exist
}