log.log(log.LOG_DEBUG, "DeviceManager waiting on queue");
log.log(LogService.LOG_DEBUG, "DeviceManager waiting on queue");
	private synchronized DeviceTracker dequeue() throws InterruptedException {		while (running && (head == null)) {			/* This should be included per Section 8.7.7 of the OSGi SP R2			 * spec, but it causes the OSGi SP R2 Test Suite to fail.			 * We should turn this on for R3.			 if (driverServiceRegistered)			 */			if (false) {				driverServiceRegistered = false;				refineIdleDevices();			} else {				locators.uninstallDriverBundles();				try {					if (Activator.DEBUG) {						log.log(log.LOG_DEBUG, "DeviceManager waiting on queue"); //$NON-NLS-1$					}					wait();				} catch (InterruptedException e) {				}			}		}		if (!running) /* if we are stopping */		{			throw new InterruptedException(); /* throw an exception */		}		DeviceService item = head;		head = item.next;		if (head == null) {			tail = null;		}		return (item.device);	}