Mercurial > projects > dwt-mac
diff dwt/internal/Lock.d @ 45:d8635bb48c7c
Merge with SWT 3.5
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Mon, 01 Dec 2008 17:07:00 +0100 |
parents | 380af2bdd8e5 |
children | 6d9ec9ccdcdd |
line wrap: on
line diff
--- a/dwt/internal/Lock.d Tue Oct 21 15:20:04 2008 +0200 +++ b/dwt/internal/Lock.d Mon Dec 01 17:07:00 2008 +0100 @@ -1,5 +1,5 @@ -/******************************************************************************* - * Copyright (c) 2000, 2005 IBM Corporation and others. +/******************************************************************************* + * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -21,12 +21,11 @@ import dwt.dwthelper.utils; /** - * Instance of this represent a recursive monitor. + * Instances of this represent a recursive monitor. Note that this + * is an empty implementation which does not actually perform locking. */ public class Lock { - int count, waitCount; - Thread owner; Mutex mutex; Condition cond; @@ -59,7 +58,6 @@ } catch (SyncException e) { - /* Wait forever, just like synchronized blocks */ } } --waitCount;