线程

线程优先级

Thread th1=new MyThread()

th1.getPriority()

th1.setPriority(Thread.MAX_PRIORITY);

优先级不一定会起作用

 

线程生命周期 -五种状态转化

引用自 尚硅谷 视频

 

posted on 2020-08-10 19:06  落华12580  阅读(72)  评论(0)    收藏  举报

导航