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.

TDA4VM: The RTOS uses a mutex lock

Part Number: TDA4VM


Hi team,

Here's an issue from the customer may need your help:

When using a mutex lock, calling the initialization function pthread_mutex_init causes all tasks to not run. Because mutex variables cannot be defined before the semaphore variable, it is fine if the mutex variable is defined after the semaphore. 

As shown in the figure above, the results of code execution are completely different between the two places defined. Is this a mechanism that has been deliberately designed?  And is there any routine for reference on the use of the mutex?

SDK version: 7.1.

Could you help check this case? Thanks.

Best Regards,

Cherry