diff options
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/java/lang/Thread.java | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index a563ee6..953fa26 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2002-01-04 Tom Tromey <tromey@redhat.com> + + * java/lang/Thread.java (stop): No longer synchronized. + (start): Likewise. + 2002-01-02 Tom Tromey <tromey@redhat.com> * java/lang/ieeefp.h: Fix bug in my hand-application of previous diff --git a/libjava/java/lang/Thread.java b/libjava/java/lang/Thread.java index 542f471..92f74f6 100644 --- a/libjava/java/lang/Thread.java +++ b/libjava/java/lang/Thread.java @@ -1,6 +1,6 @@ // Thread.java - Thread class. -/* Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation +/* Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation This file is part of libgcj. @@ -193,7 +193,7 @@ public class Thread implements Runnable public static native void sleep (long timeout, int nanos) throws InterruptedException; - public synchronized native void start (); + public native void start (); public final void stop () { @@ -202,7 +202,7 @@ public class Thread implements Runnable stop (null); } - public final synchronized native void stop (Throwable e); + public final native void stop (Throwable e); public final native void suspend (); private final native void initialize_native (); |