thread_start - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Starts the execution of the given thread.
Parameter | Data Type | Description |
---|---|---|
thread | integer | index of the thread |
integer: Returns -1 on failure, and 0 on success.
// demonstrates starting a thread
if (thread_start(asynchthread)) {
// thread started successfully
} else {
// thread failed to start
}
NOTOC