Login  Register

Re: Right method to exit/dispose on linux

Posted by gouessej on Feb 18, 2014; 3:48pm
URL: https://forum.jogamp.org/Right-method-to-exit-dispose-on-linux-tp4031504p4031639.html

Don't use Thread.sleep(). Maybe just call Thread.yield() instead but I'm not sure it is absolutely necessary. I call none of them in the main loop of TUER. I still don't understand your obstinacy to avoid using GLEventListener, it doesn't simplify anything and those who will read your code may think that's the way to go whereas it isn't.
Julien Gouesse | Personal blog | Website