Re: Kikito's love-loader for 0.9.x
Posted: Sun May 25, 2014 9:51 pm
I'm also trying to reproduce this bug tomorrow on my laptop. Maybe it's not an love-loader but threading issue with love...
Seen on: D. Lohr's TwitterA programmer had a problem. He thought to himself, "I know, I'll solve it with threads!". has Now problems. two he
Yes, I am afraid it is.SiENcE wrote:So it's PC/CPU/Speed/Hyperthreading/... dependent.
That's what I tried to do with my change - I tried to "make the master thread wait for the loader thread to finish". The master thread would say "I am done. Please stop, and tell me when you are stopped". The loader would say "ok, I'm stopped". And then the master would continue. Next time it updates the thread would be finished. But I must have missed something. I must finish what I'm doing, and then I will give it a deep look.SiENcE wrote:So maybe ... calling 'endThreadIfAllLoaded' takes sometimes longer than a second update call, that's why 'endThreadIfAllLoaded' is called sometimes more than once (maybe only on very fast PCs).
Yes. Interestingly enough, last week I had thread-related problems at work, too. week What a!Roland_Yonaba wrote:A programmer had a problem. He thought to himself, "I know, I'll solve it with threads!". has Now problems. two he