
嵌入式Linux
文章平均质量分 81
ExtraMan
这个作者很懒,什么都没留下…
展开
-
Warning: unable to open an initial console
原理性的东西,自己去百度看一下,很简单,如果你读过内核的这段代码:static int noinline init_post(void){ free_initmem(); unlock_kernel(); mark_rodata_ro(); system_state = SYSTEM_RUNNING;原创 2013-03-17 12:59:40 · 1200 阅读 · 0 评论 -
高并发的socket实现
方法1 使用select 方法2 使用epoll首先linux平台下的socket最大连接数是1024,其实去除一些系统用的文字描述符,就会少于1024了,但是一般的服务器1000多个连接哪能够呢?用命令ulimit -n可以查询最大文件描述符 也可以改写 ulimit -n 65536select是I/O多路转换技术服务器端#include #inclu原创 2014-07-17 16:05:31 · 1224 阅读 · 0 评论