会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
孤~狼
博客园
首页
新随笔
联系
管理
订阅
2018年5月21日
epoll机制
摘要: epoll一共需要三步: //声明epoll类型的结构体,ev位要设置的变量,rev位返回时设置变量 1. 创建epoll机制 int epfd; struct epoll_event ev, rev[count]; epfd=epoll_create1(0)//参数为0或EPOLL_CLOEXEC
阅读全文
posted @ 2018-05-21 14:28 edan
阅读(184)
评论(0)
推荐(0)
公告