TIL The C Standard does not require malloc() & free() to be reentrant. Just, wow.
@mikeb2701 @mjpt777 @kittylyst Not sure why reentrance a requirement. If used in an ISR you can disable/enable interrupts, mutex otherwise.
-
-
@darachennis@mikeb2701@kittylyst If one instance is interrupted then other threads can call it without issue, therefore reentrant. -
@mjpt777@mikeb2701@kittylyst You could use thread-safe as a drop in replacement to reentrant there. Both terms work for me...
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.