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.
Hello.
I have a thread that waits for up to n signals before sending a specific message.
This is a low priority thread that should only send the message after the higher priority thread sleeps.
The high priority thread code works like this:
if (a) osSignalSet(threadid, EVENT_A); if (b) osSignalSet(threadid, EVENT_B); if (c) osSignalSet(threadid, EVENT_C); if (d) osSignalSet(threadid, EVENT_D);
My issue is that if 'a' and 'b' are true for example, sometimes the message thread will send two messages, one for EVENT_A signal and a second for EVENT_B signal.
Shouldn't the lower priority thread process all signal at once?
I'm using ARM:CMSIS 5.0.0 pack for STM32F103.
Thanks in advance.
Student are always busy in their life of schooling colleges and universities. As we know student life is so tough and sometime non-manageable . They always have a burden about lots of assignments and when they complete all the homework and did not get the good marks. But not to worry writing services are always here for your help like edu-birdie.us/.../speech-writing-services.html which always provide the best quality writing and editing services.