Mercurial > projects > dwt2
diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/widgets/Synchronizer.d @ 112:9f4c18c268b2
Update to compile and execute with dmd 2.052.
author | kntroh |
---|---|
date | Wed, 16 Mar 2011 21:53:53 +0900 |
parents | 2e09b0e6857a |
children |
line wrap: on
line diff
--- a/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/widgets/Synchronizer.d Sat Nov 13 14:15:51 2010 +0100 +++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/widgets/Synchronizer.d Wed Mar 16 21:53:53 2011 +0900 @@ -25,6 +25,7 @@ version(Tango){ import tango.core.Exception: SyncException; } else { // Phobos + import core.sync.exception: SyncException; } /** @@ -194,14 +195,10 @@ synchronized (lock) { bool interrupted = false; while (!lock.done ()) { - version(Tango){ - try { - lock.wait (); - } catch (SyncException e) { - interrupted = true; - } - } else { // Phobos - implMissing( __FILE__, __LINE__ ); + try { + lock.wait (); + } catch (SyncException e) { + interrupted = true; } } if (interrupted) {