Toot

Written by Aurimas Černius on 2024-12-06 at 08:21

Spent nearly two day investigating slow app start, to find that it is caused of busy spins in two threads with the third one, that is supposed to do the work that will unblock the other too, is not getting CPU time, because everything runs on device that only has two active cores.

Don't do spinlocks!

Multi threading is hard, transitioning from single to multi is even harder.

[#]programming

=> More informations about this toot | View the thread | More toots from aurisc4@floss.social

Mentions

Tags

=> View programming tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113604906574095364
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
223.070749 milliseconds
Gemini-to-HTML Time
0.608424 milliseconds

This content has been proxied by September (ba2dc).