Other Parts Discussed in Thread: SYSBIOS
Hi,
Our company wants to develop programs on the TDA4 board, and the development environment is QNX+RTOS.
The R5F and DSP programs we develop need to use multi-threading and semaphores/locks.
The R5F and DSP compilers (ti-cgt-arm_20.2.0.LTS/ti-cgt-c7000_1.3.0.STS) do not have semaphore header file (such as semaphore.h in QNX), at the same time, the implementation of multi-thread functions (_pthread.h in ti-cgt-arm_20.2.0.LTS/include directory) is not as much as in the QNX system header file(pthread.h in /usr/include directory).
If I add the qnx system header file when compiling, there will be an error that the qnx system header file conflicts with the compiler header file.
So how should I avoid this conflict, or how should I use multithreading and locks when developing dsp/r5f programs?
Thank you!