I've got two threads setup currently, the glthread and gamephysics thread. I need to be setting a "drawque" object within the glthread from the gamephysics thread which contains pointers to textures which need to be drawn... I was wondering whether it's possible, rather than to synchronise a load of methods within in the glthread, but to have a method within the gamephysics thread which implements runnable and is then run on the glthread directly... Would this prevent the original problem of an object being accessed and altered by two threads at a time? Basicly, when you set something to be run on another thread will it wait until its finished running the method it's currently running... Thus solving the problem with syncronizing.
I hope that makes sense and thanks a lot.