Login  Register

Re: Multithready between AWT and JOGL

Posted by millerni456 on Sep 23, 2011; 2:23am
URL: https://forum.jogamp.org/Multithready-between-AWT-and-JOGL-tp3356928p3360695.html

Hmm... although my original problem was not lag. I do get a lot of that when I populate my particles objects. I tried starting a new thread that manages updating of the particles while the GLAutoDrawable thread renders them using the particles statistics.

After changing to the NEWT implementation, however, I still cannot schedule a pick-selection. I even trying modifying the pick-Selection scheduling variable (boolean) inside the GLRunnable.run() method. Any Ideas?

I think the problem is that I still have two threads accessing two different values store in the same variable. For example, the variable is true on one thread, but it remains false on the other.