Mercurial > projects > dwt2
comparison org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/widgets/RunnableLock.d @ 48:ddbfe84d86df
[swt lin] versioned imports
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 27 Mar 2009 12:05:20 +0100 |
parents | 65761bc28ab2 |
children | 7a2dd761a8b2 |
comparison
equal
deleted
inserted
replaced
47:65761bc28ab2 | 48:ddbfe84d86df |
---|---|
13 module org.eclipse.swt.widgets.RunnableLock; | 13 module org.eclipse.swt.widgets.RunnableLock; |
14 | 14 |
15 import java.lang.all; | 15 import java.lang.all; |
16 | 16 |
17 import java.lang.Thread; | 17 import java.lang.Thread; |
18 import tango.core.Exception; | 18 version(Tango){ |
19 import tango.core.sync.Condition; | 19 import tango.core.sync.Condition; |
20 import tango.core.sync.Mutex; | 20 import tango.core.sync.Mutex; |
21 } else { // Phobos | |
22 } | |
21 | 23 |
22 /** | 24 /** |
23 * Instances of this class are used to ensure that an | 25 * Instances of this class are used to ensure that an |
24 * application cannot interfere with the locking mechanism | 26 * application cannot interfere with the locking mechanism |
25 * used to implement asynchronous and synchronous communication | 27 * used to implement asynchronous and synchronous communication |