priority queue
常見(jiàn)例句
- The thread scheduler must dispatch from the head of the highest-priority queue that is not empty.
線程調(diào)度程序必須從非空的最高優(yōu)先級(jí)隊(duì)列的頭部開(kāi)始調(diào)度。 - 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.
釋放鎖以后,系統(tǒng)從爭(zhēng)用者的最高優(yōu)先級(jí)隊(duì)列的前端選擇線程,以便試圖鎖定對(duì)象。 - Internally, the priority queue uses a token bucket that measures the offered load and ensures that the traffic stream conforms to the configured rate.
這里,優(yōu)先級(jí)隊(duì)列采用令牌桶來(lái)調(diào)節(jié)提供的負(fù)載并且保證流量符合配置的速率。
blog.sina.com.cn 返回 priority queue