thread_start - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Description

Starts the execution of the given thread.

Parameters

Parameter Data Type Description
thread integer index of the thread

Return Values

integer: Returns -1 on failure, and 0 on success.

Example Call

// demonstrates starting a thread
if (thread_start(asynchthread)) {
  // thread started successfully
} else {
  // thread failed to start
}

NOTOC

⚠️ **GitHub.com Fallback** ⚠️