3 ms·
I've taken an interest in lock-free queues for ultra-low power embedded... think Cortex-m0, or even avr/pic. Things get interesting when you're working with a
by superxpro12 7mo ago
I've taken an interest in lock-free queues for ultra-low power embedded... think Cortex-m0, or even avr/pic.
Things get interesting when you're working with a cpu that lacks the ldrex/strem assembly instructions that makes this all work. I think youre only options at that point are disable/enable interrupts. IF anyone has any insights into this constraint I'd love to hear it.
- loeg 7mo agoFor ultra low-power embedded, wouldn't a mutex approach work just fine? You're running on a single core anyway.
- dalvrosa 7mo agoI'm not sure about the single-core scenario, but would love to learn if someone else wants to add something In reality multiple threads for single core doesn't make much sense right?
- loeg 7mo ago> In reality multiple threads for single core doesn't make much sense right? Not necessarily, I think -- depends what you're doing.