Mercurial > projects > dwt-addons
diff dwtx/jface/text/reconciler/AbstractReconciler.d @ 167:862b05e0334a
Add a wrapper for Thread
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 09 Sep 2008 15:59:16 +0200 |
parents | 1a5b8f8129df |
children | d994a8b2cdf7 |
line wrap: on
line diff
--- a/dwtx/jface/text/reconciler/AbstractReconciler.d Mon Sep 08 01:01:30 2008 +0200 +++ b/dwtx/jface/text/reconciler/AbstractReconciler.d Tue Sep 09 15:59:16 2008 +0200 @@ -27,7 +27,7 @@ import dwt.dwthelper.utils; -import tango.core.Thread; +import dwtx.dwtxhelper.JThread; import dwtx.core.runtime.Assert; import dwtx.core.runtime.IProgressMonitor; @@ -69,7 +69,7 @@ * Background thread for the reconciling activity. */ class BackgroundThread { - Thread thread; + JThread thread; /** Has the reconciler been canceled. */ private bool fCanceled= false; @@ -99,7 +99,7 @@ public bool isAlive(){ return thread.isRunning(); } - public Thread getThread(){ + public JThread getThread(){ return thread; } /**