Browse Source

Merge pull request #1412 from svaarala/website-duk-suspend-finalizer

duk_suspend() note on finalizer limitation
pull/1416/head
Sami Vaarala 8 years ago
committed by GitHub
parent
commit
a75da965b3
  1. 4
      website/api/duk_suspend.yaml

4
website/api/duk_suspend.yaml

@ -18,6 +18,10 @@ summary: |
<code>duk_suspend()</code>) must not be unwound while Duktape execution
is suspended.</p>
<div class="note">
This API call must not be used directly or indirectly from a finalizer.
</div>
<div class="note">
Duktape does not provide any locking for ensuring only one native thread
accesses a certain Duktape heap at a time. Application code must provide

Loading…
Cancel
Save