- 博客(3)
- 收藏
- 关注
转载 父子进程通过mmap进行通信
本来打算使用pipe进行父子进程之间的数据交互(应用场景是父进程向多个子进程分发数据,子进程进行处理);但是担心pipe的性能,转而使用mmap实现。 废话少叙,上代码。 #include <stdio.h> #include <sys/types.h> #include <signal.h> #include <string.h&...
2014-06-18 17:09:00 98
转载 nginx 点滴
1. 基本构建,提供最简单的http服务 cd nginx-1.2.6 APPDIR=/home/s/apps/nginx LOGDIR=/home/s/logs/nginx ./configure \ --prefix=$APPDIR \ --error-log-path=$LOGDIR/error.log ...
2013-01-24 10:39:00 75
转载 guess chinese character
#include <stdio.h> #include <sys/types.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <iconv.h> #include <set> #...
2012-08-21 09:31:00 1077
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人