Mercurial > projects > dwt2
diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/widgets/Synchronizer.d @ 19:52184e4b815c
no more direct tango.core.Thread. Rename JThread to java.lang.Thread.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 18 Mar 2009 10:55:25 +0100 |
parents | 6dd524f61e62 |
children | d46287db17ed |
line wrap: on
line diff
--- a/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/widgets/Synchronizer.d Wed Mar 18 09:57:53 2009 +0100 +++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/widgets/Synchronizer.d Wed Mar 18 10:55:25 2009 +0100 @@ -14,14 +14,13 @@ import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.RunnableLock; -import java.lang.Runnable; -import java.lang.System; import org.eclipse.swt.internal.Compatibility; import org.eclipse.swt.SWT; -import tango.core.Thread; +import java.lang.all; +import java.lang.Thread; +import tango.core.Exception: SyncException; import org.eclipse.swt.graphics.Device; -import tango.core.Exception; /** * Instances of this class provide synchronization support @@ -179,7 +178,7 @@ /* * Only remember the syncThread for syncExec. */ - lock.thread = Thread.getThis(); + lock.thread = Thread.currentThread(); addLast (lock); } }