ChinaUnix.net
相关文章推荐:

epool

有哪些应用场景下必须用ET的?

by mightofcode - Linux环境编程 - 2014-04-09 00:39:27 阅读(1062) 回复(4)

相关讨论

在gentoo系统上,精简一个系统,使用uclibc. 启动squid, 第一个进程可以启动,子进程启动就出错,等10来秒后,第一个squid进程也退出, 日志如下: comm_select_init: epool_create(): (38) Function not implemented Squid Parent: child process 1948 exited due to signal 6 看来是epool没有被内核支持,检查内核配置文件: CONFIG_EPOLL=y CONFIG_SHMEM=y CONFIG_SLAB=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_RT_MUTEXES=y 明明支持epoo...

by bpxyz - 服务器应用 - 2007-09-07 12:48:23 阅读(2728) 回复(1)

epoll LT模式,只有EPOLLIN的时候对端close,epoll_wait会recv 0,但是EPOLLIN|EPOLLOUT的时候对端close本端却收不到0,而是recv -1, strerror(errno):Connection reset by peer。 废话少说,直接上代码。还望高手指点! 3Q

by kdkgod - C/C++ - 2013-02-28 11:28:41 阅读(1595) 回复(7)

/************************************************************************* Author: Wan Xinshuo Created Time: 2009年04月14日 星期二 11时33分18秒 File Name: server02.c Description: ************************************************************************/ #include #include #include #include #include #include #include #include #include #define MAXLINE 100 #define OPEN_MAX 100 #define L...

by xinshuow - 网络技术文档中心 - 2009-11-06 00:25:09 阅读(1722) 回复(1)