实现Runnable接口怎么获取当前线程的名字

Thread.currentThread().getName()

猜你喜欢

转载自blog.csdn.net/qq_38006520/article/details/82954344