1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-03 14:25:37 +02:00

Bug 160353 - avoid readAndDispatch. This method should always be called on secondary thread anyway

This commit is contained in:
David McKnight 2006-10-11 19:45:10 +00:00
parent 5a0ab16969
commit 74a7f2d59e
2 changed files with 4 additions and 4 deletions

View file

@ -307,9 +307,9 @@ public class StatusMonitor implements IDomainListener, ICommunicationsListener
// Current thread is UI thread
while (_workingStatuses.contains(status))
{
while (display.readAndDispatch()) {
// while (display.readAndDispatch()) {
//Process everything on event queue
}
// }
if ((monitor != null) && (monitor.isCanceled()))
{

View file

@ -287,9 +287,9 @@ public class DStoreStatusMonitor implements IDomainListener
// Current thread is UI thread
while (_workingStatuses.contains(status))
{
while (display.readAndDispatch()) {
// while (display.readAndDispatch()) {
//Process everything on event queue
}
// }
if ((monitor != null) && (monitor.isCanceled()))
{