scpt_execute_or_resume
Last updated March 2020
Name
scpt_execute_or_resume — Execute or resume execution of a thread
Synopsis
#include "modules/scriptlets/ec_scriptlet.h"
| int **scpt_execute_or_resume** (
| thr, | |
| | nargs)
; | |
Description
Execute or resume execution of a thread. You are expected to have prepared the parameters appropriately.
- thr
-
The script thread. For a description of this data type see “scpt_thread”.
- nargs
-
The number of arguments.
Returns SCPT_YIELD
, SCPT_ERR
or the number of return values, which may be zero.
It is legal to call this function in any thread.
See Also
Was this page helpful?