免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
123
最近访问板块 发新帖
楼主: 思一克
打印 上一主题 下一主题

在用户空间编程使用linux内核链表list,hlist宏定义和操作 [复制链接]

论坛徽章:
0
21 [报告]
发表于 2008-09-17 09:56 |只看该作者
学习。

论坛徽章:
0
22 [报告]
发表于 2012-06-17 23:01 |只看该作者
  挺好滴,我现在应用层链表就是用了list

不过最近在学习glib里面的数据结构实现也挺好的~~

论坛徽章:
0
23 [报告]
发表于 2012-06-17 23:05 |只看该作者
Memory chunks
  Doubly-linked lists
  Singly-linked lists
  Hash tables
  Strings (which can grow dynamically)
  String chunks (groups of strings)
  Arrays (which can grow in size as elements are added)
  Balanced binary trees
  N-ary trees
  Quarks (a two-way association of a string and a unique integer identifier)
  Keyed data lists (lists of data elements accessible by a string or integer id)
  Relations and tuples (tables of data which can be indexed on any number of fields)
  Caches
这些常规的数据结构都有相关的API,在应用层开发还是挺方便的
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP