Hi!
I want to use malloc in a threded application. Is the implementation of malloc in CCS thread safe, and is it possible to monitor the amount of free heap?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi!
I want to use malloc in a threded application. Is the implementation of malloc in CCS thread safe, and is it possible to monitor the amount of free heap?
There is some information and links to other references in this forum thread.
The Compiler Users Guide ( this link is for the C6000 Compiler Users Guide) has a section on handling reentrancy, and you can also view the implementation of functions of interest by looking into the runtime sources (after extracting rtssrc.zip in the compiler tools installation folder).