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.
Dear Team,
To Achieve:
I want to put the threadX in running state when eventFlagX is set OR queueX has received a data; otherwise threadX will be in blocked state.
Problem:
I am unable to do this; as using timeout values as osWaitForever on any one of the two conditions restricts the checking of other condition. Also, I cant keep timeout value 0 as i want threadX to be in blocked state when there is no event flag is set or queue doesnt have any data. Please help me with correct & efficient approach.
I am using KEIL5 and rts keil RTOS2 (API) on LPC4357 as target.
Thanks.