线程优先级

线程优先级 高优先级的线程更容易再竞争中获胜 public final static int MIN_PRIORITY = 1; public final static int NORM_PRIORITY = 5; public final static int MAX_PRIORITY = 10; 测试代码: /** * * @ClassName: PriorityTest * @Des
相关文章
相关标签/搜索