We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have faced strange program behaviour in my home project. It is running on KEIL RTX. The issue is that one task is put to wait for a mutex which is used by several tasks.
So, one of the task is put to wait forever for the mutex. While other tasks can access that mutex. All tasks have equal priority, round robin enabled. Maybe someone got this type of issue.
Is it possible to have such scenario?
Can I see this piece of your code? I want to see what it's doing and why it's forever ignoring the task. You can PM me if you don't want to make it public.
Dear Carissa,
The same issue I have in my commercial project. Do you need the whole source code?
Linas
Once you thread is waiting for the Mutex, another thread must release it. Then the tasks waiting for it should be put into the state READY (http://www.keil.com/pack/doc/CMSIS/RTOS/html/group___c_m_s_i_s___r_t_o_s___thread_mgmt.html).
You can verify that using a debugger and the OS Kernel Awareness information. You may contact our support team http://www.keil.com/support/contact.asp, but we would need to understand the relevant portions of your source code to help you.
I have already created support case in the Self-Service.