Hello
We’ve been using Freertos for 1 year for our embedded projects and we really love it.
A bit of context : our main target is a Cortex M33 (LPC55S69) which has plenty of flash and RAM.
We’ve started to port our C code base to C++ and we wonder if we can enable the C++ exceptions safely with the Freertos multithreaded environnement?
I asked Freertos forums guys about this and they told me it depends on the newlib implementation. So, by default, are newlib-none (not nano!) C++ exceptions thread-safe? I'm using heap_useNewlib from the great Dave Nadler.
After a few test, I have strange behaviors when several tasks runs in parallel, if I do throw / try / catch in them...
What do I need to do exactly to be able to use them safely in a multi threaded environnement?
Many thanks,
Victor