线程

2018-12-06  本文已影响0人  主音King

Thread.currentThread()值是Thread[main,5,main]
第一个main:当前的线程名子
第二个值5:优先级别是5(默认值)
第三个值main:代表所在线程组

上一篇 下一篇

猜你喜欢

热点阅读