会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
doer
to be a doer, not a thinker
首页
新随笔
联系
管理
随笔分类 -
linux kernel
linux内核中与进程相关的数据结构(基于linux3.16-rc4)
摘要:1.进程描述符 1 struct task_struct { 2 3 volatile long state; 4 5 ....... 6 7 struct list_head tasks; 8 9 .......10 11 struct mm_struct *mm...
阅读全文
posted @
2014-07-22 18:40
Mr.doer
阅读(458)
评论(1)
推荐(1)
内核链表的应用
摘要:本文构建了一个双向循环的内核链表,然后对链表进行遍历并打印了数据,最后释放了链表节点。方法1:使用到的数据结构和链表操作函数如下: struct list_head 内核提供的双向循环链表节点的结构体 LIST_HEAD(name) 该宏定义并初始化一个名为name...
阅读全文
posted @
2014-07-13 22:25
Mr.doer
阅读(978)
评论(0)
推荐(0)
公告