mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-22 13:03:54 +01:00
The PendSV interrupt is used to request a scheduling operation. An interrupt during the idle sleep can re-request the PendSV interrupt, while the PendSV is still busy scheduling the next thread. This clears the request after sleep to prevent triggering an extra PendSV interrupt after the current PendSV handler finished.