Versions Compared

Key

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

...

Returned Values

None

Notes/Warnings

  • This function must not be called by task-level code.
  • You can also increment the interrupt-nesting counter (OSIntNestingCtr) directly in the ISR to avoid the overhead of the function call/return. It is safe to increment OSIntNestingCtr in the ISR since interrupts are assumed to be disabled when OSIntNestingCtr is incremented. However, that is not true for all CPU architectures. You need to make sure that interrupts are disabled in the ISR before directly incrementing OSIntNestingCtr.
  • It is possible to nest interrupts up to 250 levels deep.