Skip to content
RED SAG Skills
medium10 pts · first answer countsrtosinterruptsdesign-patterns

Lock-free ring buffer from ISR to task

An ISR writes bytes into a ring buffer and one task reads them. The ISR only changes head and the task only changes tail. Why does this work without disabling interrupts on a Cortex-M?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions