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.

RTOS: Semaphore for 1 resource but will be post many times

Tool/software: TI-RTOS

Hi,

It is said on page 110 of Bios_User_Guide(which comes with the latest BLE 3.0 stack SDK simplelink_cc2640r2_sdk_1_30_00_25) that :

"The maximum count value for a semaphores plus one is the number of tasks a counting semaphore can coordinate"

In my project , there are three work task :The first one is a consumer and the others are both producers. 

The consumer will pend on the semaphore so this task waits for signals from producers.
I have a question now. As is stated in the guide , the max counting value of this semaphore will be 2 (2 + 1 =3), right?

So when the consumer is doing something (may be time-consuming) and the two producers post more than 2 signals during this period, some events will lost (since the counting value of this semaphone cound not exceed 2).

How can I deal with this situation?