Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Per-Thread Interrupt Controls

Using NuttX, you will find that the interrupts enabled/disabled state is not a global property. You can not just turn interrupts off and on for all tasks. Rather, enabling and disabling interrupts effects only while the single task that is controlling the interrupts runs. Consider the following sequence:

...