Ejemplo n.º 1
0
 static void invalidateAll() {
   current = null;
   group = null;
   synchronized (threads) {
     Iterator iter = threads().iterator();
     while (iter.hasNext()) {
       ThreadInfo ti = (ThreadInfo) iter.next();
       ti.invalidate();
     }
   }
 }
Ejemplo n.º 2
0
 static void setCurrentThreadInfo(ThreadInfo tinfo) {
   current = tinfo;
   if (current != null) {
     current.invalidate();
   }
 }