mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
648 B
25 lines
648 B
name: duk_resume
|
|
|
|
proto: |
|
|
void duk_resume(duk_context *ctx, const duk_thread_state *state);
|
|
|
|
stack: |
|
|
[ ... state(N)! ] -> [ ... ] (number of popped stack entries may vary)
|
|
|
|
summary: |
|
|
<p>Resume Duktape execution previously suspended using
|
|
<code><a href="#duk_suspend">duk_suspend()</a></code>. The <code>state</code>
|
|
argument must not be NULL. Value stack and <code>state</code> must be in the
|
|
state where they were left by <code>duk_suspend()</code>; if that's not the
|
|
case, memory unsafe behavior will happen.</p>
|
|
|
|
example: |
|
|
/* See example for duk_suspend(). */
|
|
|
|
tags:
|
|
- thread
|
|
|
|
seealso:
|
|
- duk_suspend
|
|
|
|
introduced: 1.6.0
|
|
|