<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class="">On 18 feb 2015, at 13:35, Martin Nowak via dmd-beta <<a href="mailto:dmd-beta@puremagic.com" class="">dmd-beta@puremagic.com</a>> wrote:</div><div class=""><br class="">The other problem is an unfortunately inevitable backwards incompatibility introduced by making synchronized nothrow.<br class="">Vibe.d is one of the few programs that inherit from core.sync.*<br class="">classes which now have nothrow lock/unlock methods.<br class=""></div></blockquote></div><div class=""><br class=""></div><div class="">I hit the same breaking change in DWT. The implementation is a bit different there compared to Tango [1]. The implementation actually catches the SyncException and is supposed to interrupt the current thread. But “Compatibility.interrupt” is not implemented because the original author never figured out how to port that from Java [2].</div><div class=""><br class=""></div><div class="">[1] <a href="https://github.com/d-widget-toolkit/org.eclipse.swt.gtk.linux.x86/blob/master/src/org/eclipse/swt/widgets/Synchronizer.d#L187-L202" class="">https://github.com/d-widget-toolkit/org.eclipse.swt.gtk.linux.x86/blob/master/src/org/eclipse/swt/widgets/Synchronizer.d#L187-L202</a></div><div class=""><br class=""></div><div class="">[2] <a href="https://github.com/d-widget-toolkit/org.eclipse.swt.gtk.linux.x86/blob/master/src/org/eclipse/swt/internal/Compatibility.d#L402-L405" class="">https://github.com/d-widget-toolkit/org.eclipse.swt.gtk.linux.x86/blob/master/src/org/eclipse/swt/internal/Compatibility.d#L402-L405</a></div><br class=""><div class=""><span style="orphans: 2; widows: 2;" class="">-- </span><br style="orphans: 2; widows: 2;" class=""><span style="orphans: 2; widows: 2;" class="">/Jacob Carlborg</span></div></body></html>