• Because each thread is waiting for a lock held by the other, a deadlock occurs.

    因为每个线程等候对方持有,所以就发生了死

    youdao

  • A single arrow indicates a thread contention: One thread is waiting for another thread to release a lock.

    一支单独箭头指出线程竞争个线程正在等候另一个线程释放一个锁。

    youdao

  • When a request comes from a user to dump the data, each thread takes a lock and dumps it to a central place.

    收到来自用户转储数据请求时每个线程获得一个转储中心位置。

    youdao

  • Lock contention occurs when a lock is currently in use and another thread tries to acquire it.

    当前正在使用另一个线程试图获取它,那么就会出现争用

    youdao

  • Synchronized methods and blocks allow a thread to lock an object on entry and unlock the object on exit (to the method or block).

    同步方法代码允许线程入口处锁定对象出口处解锁(针对方法代码)。

    youdao

  • A runtime thread must acquire this lock before invoking the type constructor.

    运行库线程必须调用类型构造函数之前获得

    youdao

  • With locking, if one thread attempts to acquire a lock that is already held by another thread, the thread will block until the lock becomes available.

    使用锁定如果一个线程试图获取其他线程已经具有的锁定那么线程被阻塞直到该锁定可用

    youdao

  • If spinning succeeded on that same lock object in the recent history and the thread holding the lock is running, then spinning is likely to succeed again.

    如果同一个对象上,自刚刚成功过,并且持有线程正在运行中,那么自旋有可能再次成功。

    youdao

  • This only succeeds if another thread does not already have the lock, in which case the current thread is blocked.

    只有其他线程拥有情况下才会成功如果其他线程拥有锁,当前线程就阻塞。

    youdao

  • The thread will only release the lease if another thread attempts to acquire the lock.

    如果另一个线程尝试获取,那么循环线程需要释放契约就可以了。

    youdao

  • A slow lock is owned by another thread and must be relinquished by that other thread before it can be acquired.

    一个线程持有可以请求之前必须一个线程释放掉

    youdao

  • Having a single thread pool could cause significant lock contention.

    使用单独线程可能会导致严重争用。

    youdao

  • As you may have guessed, the POSIX threads library will grant a lock without having put the thread to sleep at all if a thread tries to lock an unlocked mutex.

    可以推测到,当线程试图锁定一个未加的互斥对象时,POSI x线程同意锁定,不会使线程进入睡眠状态。

    youdao

  • The second lane is thread, indicating in which thread lock contention occurs.

    第二线程表明竞争发生哪个线程。

    youdao

  • 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.

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

    youdao

  • As a result, each thread ends up waiting for a lock held by the other thread.

    结果线程都会等待一个线程所保持

    youdao

  • When a lock is released, the system chooses the thread from the front of the highest-priority queue of contenders to try to lock the object.

    释放以后,系统争用者最高优先队列前端选择线程,以便试图锁定对象

    youdao

  • In the thread View, vertical arrows point from a thread requesting a lock to the thread that holds the lock.

    线程视图中,垂直箭头请求线程,指向持有锁的线程。

    youdao

  • Uncontested unlock operations return a locked mutex to the thread lock cache.

    非争用解锁操作一个锁定互斥锁返回线程锁定缓存

    youdao

  • If the NHRT is delayed when trying to acquire such a lock while the thread owning the lock is delayed by garbage collection, then the NHRT is indirectly delayed by garbage collection as well.

    如果NHRT尝试获取这类延迟了,而且拥有线程垃圾收集延迟了,那么垃圾收集也会间接地延迟NHRT。

    youdao

  • Because thread 1 currently holds this lock, thread 2 blocks.

    由于线程1目前持有,线程2被阻断

    youdao

  • The P1 thread then needs the same object but cannot acquire the lock until the P3 thread has released it.

    P1线程需要同一个对象但是P3线程释放之前,P1无法得到锁。

    youdao

  • The shorter the time a thread holds a given lock, the lower the probability that another thread will request it while the first thread is holding it.

    线程占用一个给定时间越短另一个线程在线程占用锁请求该锁的可能性小。

    youdao

  • If a lock is acquired recursively, the requesting thread already owns it.

    如果是以归方式被请求,那么发出请求的线程已经持有了它。

    youdao

  • When a thread a tries to acquire a JUC lock, while this lock has been acquired by another thread, then thread a has to "stop" its execution and wait until this lock is released or times out.

    线程a试图获得一个JUC这个却已经另外一个线程获得那么线程A不得不“停止”,直到这个锁被释放或者超时

    youdao

  • When the thread that has the lock leaves the critical section, the suspended thread needs to be woken up. The thread will need to be re-scheduling and context switched back into the CPU.

    拥有线程离开临界区的时候,挂起的线程需要被重新唤醒,然后重新调用,交换上下文回到CPU调度中。

    youdao

  • Priority inversion is a condition where a high-priority thread is blocked on a lock held by a low-priority thread.

    优先反转指的阻塞高优先线程低优先线程持有

    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

  • Biasing a lock to a thread means that the thread is not required to release the lease on the lock.

    偏向一个线程意味着线程需要释放契约

    youdao

  • But we have to do this inside a new thread; otherwise, we'll lock the entire Workbench.

    但是我们必须一个线程这项工作;否则,我们锁定整个Workbench

    youdao

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

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

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