So, this was a non-issue. Closed the PR. We are good. Thank you for taking a look at it.
- Vipul On Wed, Dec 6, 2023 at 5:15 PM Vipul <vrah...@gmail.com> wrote: > 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 >> >> >> >> >>