Mercurial > projects > dwt2
diff org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet130a.d @ 109:8ae65ae167f5
Updated swt win32 for DMD 1.063 and latest Tango trunk.
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Wed, 15 Sep 2010 16:42:28 +0200 |
parents | 4e5843b771cc |
children | 9f4c18c268b2 |
line wrap: on
line diff
--- a/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet130a.d Wed Aug 25 23:08:27 2010 +0200 +++ b/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet130a.d Wed Sep 15 16:42:28 2010 +0200 @@ -33,7 +33,7 @@ import java.lang.all; -import tango.core.Thread; +//import tango.core.Thread; import tango.io.Stdout; import tango.util.Convert; import tango.util.log.Trace; @@ -67,7 +67,7 @@ for (int i = 0; i < 6; i++) { if (display.isDisposed()) return; Trace.formatln("do task that takes a long time in a separate thread {} {}/6", id, i); - Thread.sleep(0.500); + Thread.sleep(500); } /* for (int i = 0; i < 100000; i++) {