Linux网络编程
文章平均质量分 64
别整没用的
这个作者很懒,什么都没留下…
展开
-
源码剖析之epoll(1)
1. 源码剖析以下源码取自4.101.1 核心数据结构epitemfs/eventpoll.c/* * Each file descriptor added to the eventpoll interface will * have an entry of this type linked to the "rbr" RB tree. * Avoid increasing the size o原创 2017-12-21 18:25:37 · 194 阅读 · 0 评论 -
源码剖析之epoll(2)
1. 源码分析本篇主要分析epoll_ctl以及相关函数以下源码取自4.101.1 epoll_ctl用于添加/调整/删除我们要监视的事件fs/eventpoll.c/* * The following function implements the controller interface for * the eventpoll file that enables the insertion/原创 2017-12-22 15:05:27 · 375 阅读 · 0 评论 -
源码剖析之epoll(3)
1. 源码剖析本篇主要分析epoll_wait以及相关函数以下源码取自4.101.1 epoll_waitfs/eventpoll.c/* * Implement the event wait interface for the eventpoll file. It is the kernel * part of the user space epoll_wait(2). */ SYSCALL原创 2017-12-26 16:06:39 · 176 阅读 · 0 评论