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
=> View programming tag This content has been proxied by September (ba2dc).Proxy Information
text/gemini