Here’s the mynewt-core PR for reference: https://github.com/apache/mynewt-core/pull/3117
Regards, Vipul Rahane On Wed, Dec 6, 2023 at 10:27 AM Vipul <vrah...@gmail.com> wrote: > 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 > > > > >