正如list_head结构那样,等待队列(wait queue)作为linux内核中的基础数据结构,与进程调度紧密结合在一起;在驱动程序中,常常使用等待队列来实现进程的阻塞和进程的唤醒。
基于168个网页-相关网页
event wait queue 事件等待伫列 ; 事件等待队列
wait queue head 等待队列头
Wait queue for waiting puts 添加元素的条件对象
Wait queue for waiting takes 取元素的条件对象
a wait queue 等待队列
wait queue schedule 等待队列调度
a wait queue scheduling 等待队列调度
wait in a queue 排队等候 ; 在队中等待
Pointers into the kernel's wait queue.
指针到内核的等待队列。
However, it is not always convenient to wake up all sleeping processes in a wait queue.
然而,要唤醒等待队列中所有睡眠的进程有时并不方便。
Since this wait queue is used sparsely, a smaller wait queue implementation using hash queues to find the correct wait queue has been implemented in the rmap patch.
因为这个等待队列极少用到,所以在 rmap 补丁中实现了一个更小的队列,通过哈希队列来找到正确的等待队列。
应用推荐