阅读背景:

java线程调用两次start()报错源码

来源:互联网 
 
 
 
 
 public synchronized void start()
    {
        if(threadStatus != 0 || this != me)
            throw new IllegalThreadStateException();
        group.add(this);
        start0();
        if(stopBeforeStart)
            stop0(throwableFromStop);
    }

    private native void start0();
 public synchronized void start()
    {
 



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: