setPriority

此方法用于设置正在执行的线程的优先级。

此方法依赖于操作系统。

可见性
Public
特征符
void setPriority (int pr);
参数
pr

指定线程的优先级


反馈