aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2002-01-04 20:38:20 +0000
committerTom Tromey <tromey@gcc.gnu.org>2002-01-04 20:38:20 +0000
commit81550d0e5fea4bf706390c9cd84b14d6f8d8fe3e (patch)
tree56e027d82a3067b45bbfc9d30f86ffdae6113d1d
parentc1e14513edf89b72b98db061aae226be5f14c17a (diff)
downloadgcc-81550d0e5fea4bf706390c9cd84b14d6f8d8fe3e.zip
gcc-81550d0e5fea4bf706390c9cd84b14d6f8d8fe3e.tar.gz
gcc-81550d0e5fea4bf706390c9cd84b14d6f8d8fe3e.tar.bz2
Thread.java (stop): No longer synchronized.
* java/lang/Thread.java (stop): No longer synchronized. (start): Likewise. From-SVN: r48540
-rw-r--r--libjava/ChangeLog5
-rw-r--r--libjava/java/lang/Thread.java6
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 ();