Greetings fellow mynewtians, I have a small issue when a task is sleeping due to a semaphore pend. It can be woken up by an event that gets scheduled. So, the fix I am proposing is to look at OS_TASK_FLAG_EVQ_WAIT to wakeup the task. This will be done in os_eventq_put(). Is everybody fine with this fix ? I am still testing the fix so, will only open a PR once I am sure this solves my problem.
Regards, Vipul Rahane