Mercurial > projects > dwt-addons
diff dwtx/core/runtime/jobs/Job.d @ 167:862b05e0334a
Add a wrapper for Thread
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 09 Sep 2008 15:59:16 +0200 |
parents | 9d0585bcb7aa |
children |
line wrap: on
line diff
--- a/dwtx/core/runtime/jobs/Job.d Mon Sep 08 01:01:30 2008 +0200 +++ b/dwtx/core/runtime/jobs/Job.d Tue Sep 09 15:59:16 2008 +0200 @@ -12,7 +12,7 @@ *******************************************************************************/ module dwtx.core.runtime.jobs.Job; -import tango.core.Thread; +import dwtx.dwtxhelper.JThread; import dwt.dwthelper.utils; import dwtx.core.internal.jobs.InternalJob; @@ -335,7 +335,7 @@ * @return the thread this job is running in, or <code>null</code> * if this job is not running or the thread is unknown. */ - public final Thread getThread() { + public final JThread getThread() { return super.getThread(); } @@ -609,7 +609,7 @@ * @see #ASYNC_FINISH * @see #run(IProgressMonitor) */ - public final void setThread(Thread thread) { + public final void setThread(JThread thread) { super.setThread(thread); }