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
}
			
			return Status.OK_STATUS;
		}
	}
	/**
	 * Job that does the real work for individual updates
	 */
	WidgetRefreshJob uiJob = new WidgetRefreshJob(UPDATING_TABLE_WIDGET);
	
	/**
	 * This job incrementally updates the viewer until all pending changes have
	 * been applied. It repeatedly schedules WidgetRefreshJobs until there are no more
	 * changes to apply. This job doesn't actually do any real work -- it simply
	 * schedules updates and updates the progress bar.
	 */
	RestartableJob updateJob = new RestartableJob(TABLE_SYNCHRONIZATION, 
			new IRunnableWithProgress() {
		public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
			doUpdate(monitor);
		}
	});
	
	private ILock lock; 
		
	/**
	 * Creates a new TableContentProvider that will control the contents of the given
	 * viewer. 
	 * 
	 * @param viewer