男儿何不带吴钩,收取关山五十州。—李贺《南园十三首·其五》
线程的优先级是指线程的优先级越高越有可能先执行,但仅仅是有可能而已。
| 设置:public final void setPriority(int newPriority) | 取得:public final int getPriority() |
| 最高优先级 | public final static int MAX_PRIORITY = 10; |
| 中等优先级 | public final static int NORM_PRIORITY = 5; |
| 最低优先级 | public final static int MIN_PRIORITY = 1; |
| 主线程优先级 | 5 |

347

被折叠的 条评论
为什么被折叠?



