-
Notifications
You must be signed in to change notification settings - Fork 0
Thread_start
hpgDesigns edited this page Aug 8, 2021
·
1 revision
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
This is number 1