OK, I've got this stupid thing sort of working… It's not displaying about one in fifty images properly, and right now it won't display GIF files at all (damn your patent!), but other than that it's functional. It's far from complete, but it's working well enough that it's going to shave at least 25% off the time it's taking me to do an update.
I've left all the old code in place; so I can still do things the slow way if it doesn't perform like it should in my automatic mode. So I only really have to get it sort of working for now anyway!
He dropped you off, I followed him home
Then I, I stood outside his bedroom window
Standing over him, he begged me not to do
What I knew I had to do cause I'm so in love with you
It's kind of tricky because I've never really done much multi-threaded programming before (in this ap, one CPU handles the main software, and the second CPU handles scaling images for view), and to be honest, I think my compiler has implemented it in a very weird way — when I launch a thread I can't pass it any data, so I'm doing a kludge where I pass the info through global variables (nooooooooo!).
Post a Comment