Renderer r; synchronized (rootThreadGroup) { r = new Renderer(rootThreadGroup); r.initialize(); r.setPriority(threadPriority); Screen3D.deviceRendererMap.put(gd, r);
Thread list[] = new Thread[rootThreadGroup.activeCount()]; int count = rootThreadGroup.enumerate(list); for (int i=count-1; i >=0; i--) { list[i].setPriority(pri);
                    public Object run() {			Renderer r;		        synchronized (rootThreadGroup) {			    r = new Renderer(rootThreadGroup);			    r.initialize();			    r.setPriority(threadPriority);			    Screen3D.deviceRendererMap.put(gd, r);			}			return null;		   }