gpt4 book ai didi

linux - 使用新的(自 Linux Kernel 2.6.20 起)工作队列接口(interface)

转载 作者:IT王子 更新时间:2023-10-29 00:31:23 25 4
gpt4 key购买 nike

我一直在阅读有关 Linux 内核开发/设备驱动程序以及我看过的所有书籍 use the pre-2.6.20 workqueue interface .这包括 Linux Kernel Module Programming Guide , 罗伯特·洛夫的 Linux Kernel Development和 Sreekrishnan Venkateswaran 的 Essential Linux Device Drivers发表于 2008 年 4 月!

有没有人有使用"new"2.6.20+ workqueue interface 的指南? ?

仅供引用,我目前正在开发的 Ubuntu 8.04 已于一年半前发布,包含内核 2.6.24。

编辑

stsquad 的回答让我找到了 this guide to porting code to the new 2.6.20 workqueue's .

最佳答案

LWN (http://lwn.net/Kernel/Index/) 上的优秀 API 文章绝对不会出错,这些文章记录了很多新 API 进入内核的过程。有一整节专门介绍工作队列,值得一读。

工作队列已经在内核中存在了一段时间,所以我假设您正在考虑 recent-ish rework of the API .

虽然我在做这件事,但我可以衷心推荐订阅 LWN。他们的所有文章都在一周左右后免费提供,但值得支持高质量的写作,尤其是如果您是一位有抱负的内核黑客。

关于linux - 使用新的(自 Linux Kernel 2.6.20 起)工作队列接口(interface),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1680414/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com