Bug 48382 Deadlock running automated tests
I20031209 The automated tests for this build failed due to a deadlock. The stack trace is attached. All of the jobs involved are from the new marker view work. The problematic pattern is in Worker-4 and Worker-1, both of which are trying to join another job while owning an ILock. I recommend releasing the ILock before attempting to join the job.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/TableContentProvider.java
/**
		 * Number of items modified in the last update
		 */
		int lastWorked = 0;
		
		/**
		 * Remembers whether the viewer existed the last time this job was run
		 */
		boolean controlExists = true;
		
		WidgetRefreshJob(String title) {
			super(title);
		}
		
		/**
		 * Will be executed each time the update thread wakes up. This makes
		 * a single incremental update to the viewer (ie: adds or removes a few items)
		 */ 
		public IStatus runInUIThread(IProgressMonitor monitor) {
			if (!PlatformUI.isWorkbenchRunning()) {
				controlExists = false;
				return Status.CANCEL_STATUS;
			}
			controlExists = controlExists();
			if (controlExists) {
				lastWorked = updateViewer();