public synchronized void threadExiting(GLThread thread) { thread.mExited = true; if (mEglOwner == thread) { mEglOwner = null; } notifyAll(); }
@SuppressWarnings("PMD") public void threadExiting(GLThread thread) { synchronized (this) { if (LOG_THREADS) { Log.i("GLThread", "exiting tid=" + thread.getId()); } thread.mExited = true; if (mEglOwner == thread) { mEglOwner = null; } notifyAll(); } }