类似地,完成notify() 以后,等待者的最高优先级队列前端的线程从等待中解除阻塞。
Similarly, when a notify() is done, the thread from the front of the highest-priority queue of waiters is unblocked from its wait.
add方法向队列中添加一个电子邮件,这个方法由前端使用。
The add method adds an E-mail to the queue and is meant to be used by the front end.
释放锁以后,系统从争用者的最高优先级队列的前端选择线程,以便试图锁定对象。
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.
一个从非空运行队列的前端分派的线程具有最高的优先级。
A thread is dispatched from the front of the nonempty run-queue with the highest priority.
例如,您可能想要实现一个Web服务前端,其中请求写到WebSpheremq队列中。
For example, you might want to implement a Web service front end where the requests are written to a WebSphere MQ queue.
例如,您可能想要实现一个Web服务前端,其中请求写到WebSpheremq队列中。
For example, you might want to implement a Web service front end where the requests are written to a WebSphere MQ queue.
应用推荐