Hey all. I’ve got a question regarding a Thread and an Animator.
An animator is going to try and use 100 precent of the cpu in order to update the screen, right?
So I have created a Timer Thread that will basically be the system time for my app. Based off this time, events will spawn.
So here is where I am having problems. I use an animator to update graphics. I have a thread that continuously runs updating events and such (Timer). Well, nothing ever gets drawn on the screen meaning the display(GL gl…) method never gets called.
Would you guys have any idea why this is happening? Is it that the thread in the animator’s priority is much lower then my “Timer” thread; therefore the animator is being starved? Or is it something else?
Thanks