I hate to bring this topic up again, but I'm still having issues I can't explain and weren't answered by my previous inquiry.
Does setting the "Use Multi Threaded Libraries" to "Yes" affect the thread-safety of the underlying floating point math functions? For example, if I'm using doubles and floats in my code, but with the Cortex-M4 hardware FPU disabled, does the compiler generate calls to library code to perform floating division, multiplication, etc. that are thread safe?
I'm seeing issues running a multi-threaded application that can only be reasonably explained by the context of one task getting corrupted by another. If I don't use any floating point in these threads, the problem doesn't happen.
If I compile and run the exact same code under LPCXpresso, I don't see this thread corruption.
I suppose I could switch to using LPCXpresso for this application, but I'd much rather use CrossWorks.
Please sign in to leave a comment.