linux内核中sys_poll()的简化分析
摘要:
app:poll or select;kernel:sys_poll(); do_sys_poll(struct pollfd __user *ufds, unsigned int nfds,struct timespec *end_time); poll_initwait(&table); init_poll_funcptr(&pwq->pt, __pollwait);>table->qproc =__pollwait; do_poll(nfds, head, &table, end_time); for (;;)... 阅读全文
posted @ 2013-09-16 22:09 熊猫酒仙是也 阅读(606) 评论(0) 推荐(0) 编辑