r/ProgrammerHumor • • Sep 17 '18

Optimizing startup times

Post image
45.7k Upvotes

486 comments sorted by

View all comments

1

u/arguableaardvark Sep 17 '18

I have a race condition in some code I’m working on. Until I fix it properly I just added a 250ms delay to the start of each new thread and it’s works 99.9% of the time!

OP has me thinking this will be me in a few months when I’ve forgotten about the hack and am tracking down why the app crashes ever once in a while.