Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up duk_suspend/duk_resume suspend state struct declaration #1847

Open
svaarala opened this issue Feb 14, 2018 · 0 comments
Open

Clean up duk_suspend/duk_resume suspend state struct declaration #1847

svaarala opened this issue Feb 14, 2018 · 0 comments

Comments

@svaarala
Copy link
Owner

Currently external declaration is a struct with a fixed size byte array, while the internal struct has a separate declaration only visible to internals (with a byte size smaller than the external definition). This works but causes application call sites to reserve more stack than necessary for the suspend state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant