synchronized (pendingParentage) { Iterator itr = pendingParentage.iterator();
synchronized (pending_parentage) { Iterator itr = pending_parentage.iterator();
    private void checkForPendingParentage()    {	synchronized (pendingParentage) {	    Iterator itr = pendingParentage.iterator();	    while (itr.hasNext()) {		Frame frame = (Frame) itr.next();		boolean success = establishParentage(frame);		if (success) {		    itr.remove();		    return;		}	    }	}    }