Re: deadlock in awt

Date view Thread view Subject view Author view

From: peter@transvirtual.com
Date: Thu Dec 17 1998 - 18:12:48 EST


On Thu, 17 Dec 1998, Godmar Back wrote:
>Peter, looking at libraries/javalib/java/awt/Component.java:
>
>final public Object getTreeLock() {
> // this way, we sync with all graphic output, too
> // (which is important for no-native WMs)
> return Toolkit.singleton;
>}
>
>Shouldn't you lock Toolkit.singleton.class instead?

Oops, yes - I forgot to mention this one. It definitely has to be changed, but
that just caused some problems with Swing.

-- Peter


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:21 EDT