Mercurial > projects > dwt-addons
diff dwtx/core/runtime/jobs/LockListener.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/LockListener.d Mon Sep 08 01:01:30 2008 +0200 +++ b/dwtx/core/runtime/jobs/LockListener.d Tue Sep 09 15:59:16 2008 +0200 @@ -12,7 +12,7 @@ *******************************************************************************/ module dwtx.core.runtime.jobs.LockListener; -import tango.core.Thread; +import dwtx.dwtxhelper.JThread; import dwt.dwthelper.utils; import dwtx.core.internal.jobs.JobManager; @@ -49,7 +49,7 @@ * @return <code>true</code> if the thread should be granted immediate access, * and <code>false</code> if it should wait for the lock to be available */ - public bool aboutToWait(Thread lockOwner) { + public bool aboutToWait(JThread lockOwner) { return false; }