Skip to content

Thread_start

hpgDesigns edited this page Aug 8, 2021 · 1 revision

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

This is number 1

Clone this wiki locally