Thread_exists - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

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(asynchthread) {
  // thread does exist
} else {
  // thread does not exist
}

NOTOC