go top

获取线程优先级

网络释义

  getPriority

... Thread.currentThread() 获取当前线程对象 getPriority() 获取线程优先级 setPriority() 修改线程优先级,linux没有实现 ...

基于1个网页-相关网页

有道翻译

获取线程优先级

Obtain the thread priority

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • 请记住线程获取cpu不仅依赖优先级依赖于需要调度线程总数

    Keep in mind that the amount of CPU a thread gets becomes dependent not only on the priority but also on the total number of threads that need to be scheduled.

    youdao

  • 就像规范要求的那样,优先线程(优先级p3)获取对象一个优先(优先级p1)的线程夺取执行权。

    A low priority thread (at priority P3) acquires the lock on an object and is pre-empted by a higher priority thread (at priority P1), as the specification mandates.

    youdao

  • 优先继承背后思想争用,锁持有者优先级提高希望获取线程优先级

    The idea behind priority inheritance is that at the point of lock contention, the lock holder's priority is boosted to that of the thread wishing to acquire the lock.

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定