mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-06-16 00:16:04 +00:00
Thread.java (stop): No longer synchronized.
* java/lang/Thread.java (stop): No longer synchronized. (start): Likewise. From-SVN: r48540
This commit is contained in:
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user