Hi. I have three task: task1,task2,task3.There priority is 14, 15, 16, task1's priority(14) is highest.These task is scheduled through priority policy, that is task1 always run first. These three task will access a memory buffer- Buffer1.Before they write to or read from the memory buffer, they must try to obtain a binary sempahore. Now I have a trouble, task1 runs too fast, which cause other task(task2, task3)can never access the memory buffer.
How can I solve this problem?I want these three task can run when they need to .