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

Reentrancy in newlib #30

Open
simonjwright opened this issue Jul 25, 2020 · 0 comments
Open

Reentrancy in newlib #30

simonjwright opened this issue Jul 25, 2020 · 0 comments

Comments

@simonjwright
Copy link
Owner

This paper goes into considerable detail about dealing with the fact that some newlib functions (e.g. printf family) use an internal malloc() which is not reentrant. Reentrancy can be supported at some cost.

This doesn’t appear to be a problem for Ada projects (e.g my Certyflie fork), but could cause a nasty surprise if not handled.

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