From d401de55954416f6f76237715199097a64cc99bd Mon Sep 17 00:00:00 2001 From: jprocter Date: Thu, 27 Oct 2011 12:21:51 +0100 Subject: [PATCH] (JAL-961) use simplified notification logic to test if calculation can start --- src/jalview/workers/ConservationThread.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/jalview/workers/ConservationThread.java b/src/jalview/workers/ConservationThread.java index 4afaea7..bd025a5 100644 --- a/src/jalview/workers/ConservationThread.java +++ b/src/jalview/workers/ConservationThread.java @@ -41,7 +41,7 @@ public class ConservationThread extends AlignCalcWorker implements AlignCalcWork { calcMan.notifyStart(this); // updatingConservation = true; - while (calcMan.alreadyDoing(this)) //UPDATING_CONSERVATION) + while (!calcMan.notifyWorking(this)) { try { @@ -55,7 +55,6 @@ public class ConservationThread extends AlignCalcWorker implements AlignCalcWork ex.printStackTrace(); } } - calcMan.notifyWorking(this); if (alignViewport.isClosed()) { abortAndDestroy(); } -- 1.7.10.2