Practical RTOS Internals
인터럽트와 RTOS — ISR Context·Deferred Processing·FromISR API
ISR은 task가 아니므로 context도 따로 관리됩니다. Long work는 deferred task로 넘기고, FromISR API 패턴을 씁니다.
· 11분 읽기
rtos isr
4개의 포스트
ISR은 task가 아니므로 context도 따로 관리됩니다. Long work는 deferred task로 넘기고, FromISR API 패턴을 씁니다.
Atomic, CAS, memory order — mutex 없이 동시성. 임베디드의 ISR-safe 패턴.
HVF VM에서 cyclictest로 재현한 IRQ affinity 문제로 irqsoff가 측정하는 범위와 IRQ affinity·threaded IRQ 검증 절차를 설명합니다.
ISR 안전 함수 작성. Reentrant, atomic 변수, deferred work, FromISR variant.