In the CrossWorks C library:

We define how the functions in the C library can be made thread-safe if needed. If you use a third-party library in a multi-threaded system and combine it with the CrossWorks C library, you will need to ensure that the third-party library can be made thread-safe in just the same way that the CrossWorks C library can be made thread-safe.