Files
Andrzej Kaczmarek 2de66c2797 babblesim: Fix invalid switch from isr to task
BabbleSim triggers interrupts when exiting from critical section (i.e.
interrupts are unlocked) and then we check for pending context switch.
This can lead to invalid switch from isr to task context before isr has
actually finished:
- interrupts are unlocked
- interrupt is triggered
- isr calls os_* which uses critical section and triggers context switch
  (e.g. os_eventq_put)
- when exiting critical section in isr, we check for pending context
  switch and immediately switch to task context before isr is completed

To fix this we should only perform context switch if exiting from
critical section in task context.
2023-02-27 14:10:20 +01:00
..
2023-02-27 14:10:20 +01:00
2022-09-08 11:44:24 +02:00
2022-02-16 09:15:09 +01:00

BabbleSim support for Apache NimBLE