Request request = firstAWTRequest; firstAWTRequest = firstAWTRequest.next; if(firstAWTRequest == null) lastAWTRequest = null;
synchronized(lock) { Request request = firstAWTRequest; firstAWTRequest = firstAWTRequest.next; if(firstAWTRequest == null) lastAWTRequest = null;
	private Request getNextAWTRequest()	{		// no need to sync on lock since our only caller already		// does it		Request request = firstAWTRequest;		firstAWTRequest = firstAWTRequest.next;		if(firstAWTRequest == null)			lastAWTRequest = null;		if(request.alreadyRun)				throw new InternalError("AIEE!!! Request run twice!!! " + request.run);			request.alreadyRun = true;		return request;	}