Part Number: AM5728
Tool/software: TI-RTOS
Hi all,
I am coding on RTOS,Hardware is DSP in AM5728.
Two task are created with different priority,and one custom function is shared.The shared function using trigonometric function included in "cmath",which may using heap.
When the lower priority one is accessing the shared function,then high priority one is waked up (using Semaphore) and access the function too. An invalid free error is reported.
The question is if an error happen when two task access one function in the same time and operate heap?
Any not clear description, please let me know.
Best regards
Yx