コード例 #1
0
ファイル: GlView.java プロジェクト: Thommil/KeskGL
 public synchronized void threadExiting(GLThread thread) {
   thread.mExited = true;
   if (mEglOwner == thread) {
     mEglOwner = null;
   }
   notifyAll();
 }
コード例 #2
0
 @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();
   }
 }