Mercurial > projects > dwt-mac
comparison dwt/widgets/Synchronizer.d @ 45:d8635bb48c7c
Merge with SWT 3.5
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Mon, 01 Dec 2008 17:07:00 +0100 |
parents | 642f460a0908 |
children | 07399639c0c8 |
comparison
equal
deleted
inserted
replaced
44:ca5e494f2bbf | 45:d8635bb48c7c |
---|---|
1 /******************************************************************************* | 1 /******************************************************************************* |
2 * Copyright (c) 2000, 2007 IBM Corporation and others. | 2 * Copyright (c) 2000, 2008 IBM Corporation and others. |
3 * All rights reserved. This program and the accompanying materials | 3 * All rights reserved. This program and the accompanying materials |
4 * are made available under the terms of the Eclipse Public License v1.0 | 4 * are made available under the terms of the Eclipse Public License v1.0 |
5 * which accompanies this distribution, and is available at | 5 * which accompanies this distribution, and is available at |
6 * http://www.eclipse.org/legal/epl-v10.html | 6 * http://www.eclipse.org/legal/epl-v10.html |
7 * | 7 * |
8 * Contributors: | 8 * Contributors: |
9 * IBM Corporation - initial API and implementation | 9 * IBM Corporation - initial API and implementation |
10 * | 10 * |
11 * Port to the D programming language: | 11 * Port to the D programming language: |
12 * Jacob Carlborg <jacob.carlborg@gmail.com> | 12 * Jacob Carlborg <doob@me.com> |
13 *******************************************************************************/ | 13 *******************************************************************************/ |
14 module dwt.widgets.Synchronizer; | 14 module dwt.widgets.Synchronizer; |
15 | 15 |
16 | 16 |
17 import dwt.DWT; | 17 import dwt.DWT; |
41 * this class must ensure that the superclass methods are | 41 * this class must ensure that the superclass methods are |
42 * invoked in their implementations</em> | 42 * invoked in their implementations</em> |
43 * </p> | 43 * </p> |
44 * | 44 * |
45 * @see Display#setSynchronizer | 45 * @see Display#setSynchronizer |
46 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> | |
46 */ | 47 */ |
47 public class Synchronizer { | 48 public class Synchronizer { |
48 Display display; | 49 Display display; |
49 int messageCount; | 50 int messageCount; |
50 RunnableLock [] messages; | 51 RunnableLock [] messages; |