You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
When using 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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
When using 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.
Beta Was this translation helpful? Give feedback.
All reactions