cortex-gnat-rts
cortex-gnat-rts copied to clipboard
Reentrancy in newlib
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.