setPriority(); 设置线程的优先级


线程的优先级_优先级

 

 


Thread类里面的


MIN_PRIORITY = 1 表示最小优先级


NORM_PRIORITY = 5 表示默认优先级


MAX_PRIORITY = 10 表示最大优先级


线程的优先级_优先级_02