A bit of code I wrote recently in an attempt to make a program not use 100% of a CPU core ended up slowing down data propagation in such a way that everything looks like it works until you try to use it for real, at which point it quickly becomes apparent that it's become useless. I have a few ideas for how to really fix it, but for now I'll take useful operation at higher than needed CPU utilization over honestly still higher utilization than I'd like but not being useful.

Follow

The problem with what I did seems obvious in hindsight and there's a pretty straightforward fix, but I need to be working on other areas today.

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Typica Social

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!