jtransc / gdx-backend-jtransc

GDX backend for JTransc: targeting every platform lime supports (html5, windows, linux, mac, android, ios...) (flash is wip) (consoles + unity likely to be supported in the future)
23 stars 6 forks source link

fix TimerThread #47

Closed ghost closed 7 years ago

intrigus commented 7 years ago

This seems to fix the symptom but not the cause, right?

If so, what exactly is broken? Because I'd rather fix that than to create this workaround :)

soywiz commented 7 years ago

I'm going to merge it. But if we can solve it better, we have to create an issue in jtransc linking to this, so we can revert relevant parts when properly fixed. But I understand that @SergeyLabutin need it already to advance, so even when not being the best solution, if it works already. I think it is ok to merge and delay a better solution.

ghost commented 7 years ago

Yes, problem with real threads. In JT not implemented wait/notify please see it https://github.com/jtransc/jtransc/blob/master/jtransc-rt/src/java/lang/Object.java#L130