Relative Content

Tag Archive for queuelock-freertos

Using a lockfree spsc queue as mpmc queue on a single-core processor

When using a lockfree spsc queue on a single-core processor with RTOS, can we push/pop objects from multiple tasks/IRQs like mpmc queue?
Since on a single-core system, there is only one task/IRQ can be activated in the RTOS context. It seems that pushing/popping from multiple tasks/IRQs does not violate the spsc requirement.
Thanks if someone can clarify this use case.