对了,怎么新建一个线程了?
Throw.........
Thread thread = new Thread();
Thread thread = new Thread(String name);
Thread thread = new Thread(Runnable runnable);
Thread thread = new Thread(Runnable runnable, String name);
入参name可以通过Thread.currentThread.getName()获得