• 那么为什么提高线程优先级

    So, why don't you increase the writer thread priority?

    youdao

  • 线程优先级只是一个简单的数字

    The priority of a thread is simply a number;

    youdao

  • 这个输出通过考虑rt线程优先级来解释

    This output is explained by considering the priorities of the RT threads.

    youdao

  • 具有RT优先自愿让步线程优先级置于队列端。

    A thread with an RT priority that voluntarily yields is placed at the back of the queue for its priority.

    youdao

  • 原因如果所有线程优先级提高了,这不能解决问题

    The reason is that increasing writer thread priority does not solve the problem if all writer threads have their priorities increased.

    youdao

  • 这个优先RT线程创建两个其他 RT线程优先级都要

    This priority is higher than the priority given to either of the two other RT threads that the main RT thread creates.

    youdao

  • 这种配置意味垃圾收集器线程优先级高于审计线程——远低于NHRT

    This configuration means that the garbage collector thread's priority is just above the auditing thread — much lower than our NHRTs.

    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

  • 使用 Linux系统调用setpriority()设置或者修改普通进程线程优先级层次

    The Linux system call setpriority() is used to set or modify priority levels for normal processes and threads.

    youdao

  • 注意JCSP底层线程优先机制实现进程优先所以优先级实际工作方式取决于底层的JVM实现

    Note that JCSP implements process priorities in terms of the underlying thread's priority mechanism; so how the priorities actually work out depends on the underlying JVM implementation.

    youdao

  • 为此我们线程线程优先设置38最高RT 优先级),将筛选线程的优先级设置为 37。

    To do this, we set the thread priority of the polling threads to 38 (the highest RT priority) and the priorities of the triage pool threads to 37.

    youdao

  • 如果系统检测P 3线程正在持有一个P 1线程需要,则会P 3线程优先级置为P1直到释放了锁。

    The system detects that the P3 thread is holding a lock required by the P1 thread and elevates its priority to P1 until the lock is released.

    youdao

  • 一旦设置进程优先,就可以使用SetThreadPriority在进程优先级内部设置线程的优先级层次。

    Once the priority class of the process is set, SetThreadPriority is used to set the priority level of the thread within the priority class of the process.

    youdao

  • 这个决定线程绝对优先这个绝对优先级通过API值给线程优先级以及它所在进程的优先级共同计算得到的。

    This value is termed the absolute priority of the thread and is calculated from the priority values assigned through the API to both the thread and the process which owns that thread.

    youdao

  • 如果这种方式使用 pthread_setschedprio 设置线程优先,根据读写性质容易看出线程可能会饿死

    If you don't adhere to this approach in prioritizing writer threads using pthread_setschedprio, then given the nature of read-write lock, it is easy to see how writer threads could starve.

    youdao

  • 已经了解如何更改进程优先级,那么对于线程如何操作呢?

    Now that you know how to change the priority of processes, how do you do this with threads?

    youdao

  • 标记包含关于时间开始gc线程优先级信息

    The tag contains information about the priority of the GC thread when the quanta began.

    youdao

  • 如果需要设置条件线程具有低的优先级那么可能始终不能访问核心设置条件。

    If the thread that needs to set that condition has a lower priority, then it may never be able to get access to a core to set the condition.

    youdao

  • 优先反转优先级线程不会因中优先线程正在运行,而被持有所需的低优先级线程阻塞

    No priority inversions: High-priority threads cannot be blocked by low-priority threads holding locks they need because medium-priority threads are running.

    youdao

  • 优先6线程线程执行动作优先级4线程相同

    A thread at priority 6: This thread performs the same actions as the thread at priority 4.

    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

  • 如果阻塞线程优先任务,那么方案可能造成非常不好的结果(称为优先级倒置危险)。

    This scenario could be a disaster if the blocked thread is a high-priority task (a hazard known as priority inversion).

    youdao

  • id设置0修改当前进程(线程)的优先级

    Set id to 0 to change the current process (or thread) priority.

    youdao

  • 每个线程固定顺序进入而且每个线程同样的优先级

    Every thread is entered in fixed order, and each has an identical priority.

    youdao

  • 执行线程入池逻辑选择适当的优先级有助于防止线程入队出队中遇到问题

    Appropriate priority selection for execution of thread-pooling logic can help prevent problems encountered in thread enqueueing and dequeueing.

    youdao

  • SCHED_OTHER策略中为这线程指定相同默认优先级因此给两个线程分配了相同的时间执行

    Both threads are assigned the same default priority in the SCHED_OTHER policy, so both threads are given the same time slice to execute.

    youdao

  • 一个优先系统可以优先级线程投入比低优先级线程更多注意力

    One priority system could simply devote more attention to "high-priority" threads than to low-priority ones.

    youdao

  • 一个非空运行队列前端分派线程具有最高优先级

    A thread is dispatched from the front of the nonempty run-queue with the highest priority.

    youdao

  • 一个非空运行队列前端分派线程具有最高优先级

    A thread is dispatched from the front of the nonempty run-queue with the highest priority.

    youdao

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

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

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