一个从非空运行队列的前端分派的线程具有最高的优先级。
A thread is dispatched from the front of the nonempty run-queue with the highest priority.
释放锁以后,系统从争用者的最高优先级队列的前端选择线程,以便试图锁定对象。
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.
通过从队列的前端分派线程和在队列的后端放置过期的线程,程序在一个优先级中轮替执行。
By dispatching from a queue's head and placing expired threads at a queue's tail, execution happens in a round-robin fashion within a priority.
类似地,完成notify() 以后,等待者的最高优先级队列前端的线程从等待中解除阻塞。
Similarly, when a notify() is done, the thread from the front of the highest-priority queue of waiters is unblocked from its wait.
WM_HOTKEY消息在用户键入被RegisterHotKey函数注册的热键时发送。该消息将位于消息队列的最前端,并且与注册了这个热键的进程关联。
Posted when the user presses a hot key registered by the RegisterHotKey function. The message is placed at the top of the message queue associated with the thread that registered the hot key.
WM_HOTKEY消息在用户键入被RegisterHotKey函数注册的热键时发送。该消息将位于消息队列的最前端,并且与注册了这个热键的进程关联。
Posted when the user presses a hot key registered by the RegisterHotKey function. The message is placed at the top of the message queue associated with the thread that registered the hot key.
应用推荐