I am writing my own tasking software as hobby project. I'm wanting to learn how something like that is put together. I've created various ways to allow my own functions to be thread safe using mutex and semaphore devices but I don't know anything about the standard library functions.
Is there any documentation on what library should not have multiple tasks accessing them?
I'm sure strtok is an example of where only 1 thread can use it at a time. I suspect malloc and free are also that way.
I am using CodeWarrior for Coldfire v7.2.
Thanks.
Hello,
You should have a look to EWLCreference.pdf documents about EWL_THREADSAFE and EWL_PTHREADS definitions.
Emmanuel