Chinaunix
标题:
redhat下eventfd的支持问题
[打印本页]
作者:
xxfihm_cu
时间:
2012-07-31 09:53
标题:
redhat下eventfd的支持问题
最近搞个网络的东西,希望在线程之间用eventfd,现在使用的是rhel5.5,默认内核是2.6.18.
查了下eventfd的说明,要2.6.22以后才支持,只好升级了内核到2.6.39,
但是我发现,升级后还是没有 sys/eventfd.h 的头文件啊,难道还要更新glibc的库吗?
好蛋疼。。。。求教?
作者:
xxfihm_cu
时间:
2012-07-31 10:22
有人么。。。。。。。。。。。。。。。
作者:
seaquester
时间:
2012-07-31 10:38
本帖最后由 seaquester 于 2012-07-31 10:44 编辑
我用CentOS6.3(kernel version 2.6.32, glibc version 2.12 ),有 /sys/event.h。
检查一下 glibc version。
作者:
MMMIX
时间:
2012-07-31 10:45
回复
1#
xxfihm_cu
这个头文件是 glibc 的开发包提供的。
作者:
xxfihm_cu
时间:
2012-07-31 11:37
哦这样 请问怎么看glibc的版本呢
回复
4#
MMMIX
作者:
MMMIX
时间:
2012-07-31 13:25
回复
5#
xxfihm_cu
rpm -qi glibc
作者:
xxfihm_cu
时间:
2012-07-31 16:23
thx....
回复
6#
MMMIX
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2