Which moves the waiting thread to the ready queue . to wake up all threads that are blocking on a 方法而阻塞的线程,只有当其他线程调用
A reference to a ready queue , which contains the threads that are ready to obtain the lock 对就绪队列的引用,它包含准备获取锁的线程。
Releases the lock and then immediately enters the ready queue in order to regain the lock 的线程释放锁,然后立即进入就绪队列以便重新获取锁。
To put one or more threads into the ready queue , so that they can acquire the lock . timeouts on 的线程将一个或多个线程放入就绪队列,以使它们能够获取锁。
At this point , the next thread in the ready queue if there is one is allowed to take control of the lock 此时,允许就绪队列中的下一个线程(如果有)控制锁。
When the signal is received , one or more threads leave the waiting queue and enter the ready queue 接收到信号后,一个或多个线程将离开等待队列而进入就绪队列。
The " r " field tells us how many jobs are in the system ready queue , waiting for resources to be executed “ r ”字段告诉我们系统就绪队列中有多少任务在等待要执行的资源。
The waiting thread is placed in the object s ready queue so that it might eventually receive the lock for the object 等待线程被放置在对象的就绪队列中以便它可以最后接收对象锁。
The next thread in the object s ready queue if there is one acquires the lock and has exclusive use of the object 对象的就绪队列中的下一个线程(如果有)获取锁并拥有对对象的独占使用。
Method . it also moves the thread to the ready queue , bypassing other threads ahead of it in the wait queue , so that it can reacquire the lock sooner 它还会跳过等待队列中排在前面的其他线程,将此线程移动至就绪队列,以便它可以尽早地重新获取锁。