摘要: 在Linux 驱动程序中,可以使用等待队列来实现阻塞进程的唤醒。等待队列的头部定义如下,是一个双向列表。 struct list_head { struct list_head *next, *prev; }; struct __wait_queue_head { spinlock_t lock; 阅读全文
posted @ 2019-11-18 19:34 red_leaf_412 阅读(372) 评论(0) 推荐(0)