News for hackers. Stuff that matters.
Re:Optimizing a Lock-Free Ring Buffer by loeg on Thursday March 26, 2026 @11:06AM (#47531419)
For ultra low-power embedded, wouldn't a mutex approach work just fine? You're running on a single core anyway.
Re:Optimizing a Lock-Free Ring Buffer by dalvrosa on Thursday March 26, 2026 @02:45PM (#47534150)
I'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?

Re:Optimizing a Lock-Free Ring Buffer by loeg on Thursday March 26, 2026 @06:04PM (#47536410)
> In reality multiple threads for single core doesn't make much sense right?

Not necessarily, I think -- depends what you're doing.