会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
soul.stone
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
18
19
20
21
22
23
24
25
下一页
2017年4月10日
so加载的构造函数和析构函数
摘要: http://blog.csdn.net/linuw/article/details/6048307 __attribute__ ((constructor))指定的函数在共享库loading的时候调用,__attribute__ ((destructor))指定的函数在共享库unloading的时
阅读全文
posted @ 2017-04-10 20:28 soul.stone
阅读(1054)
评论(0)
推荐(0)
编辑
日志文件实时存储
摘要: 初始化:1、open文件2、write 1M空数据到文件3、mmap文件,ptr作为写指针4、关闭文件
阅读全文
posted @ 2017-04-10 14:01 soul.stone
阅读(613)
评论(0)
推荐(0)
编辑
2017年4月8日
todo:为什么需要EINTR?如何处理EINTR?
摘要: http://pubs.opengroup.org/onlinepubs/009695399/functions/sigaction.html
阅读全文
posted @ 2017-04-08 21:44 soul.stone
阅读(128)
评论(0)
推荐(0)
编辑
线程间互斥:mutex
摘要: #include <pthread.h> pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;int pthread_mutex_init (pthread_mutex_t *mutex , pthread_mutexattr_t * attr );i
阅读全文
posted @ 2017-04-08 21:34 soul.stone
阅读(301)
评论(0)
推荐(0)
编辑
进程间通信:信号
摘要: http://www.cnblogs.com/hoys/archive/2012/08/19/2646377.html #include <signal.h> typedef void (*sighandler_t)(int);sighandler_t signal(int signum, sigh
阅读全文
posted @ 2017-04-08 21:33 soul.stone
阅读(215)
评论(0)
推荐(0)
编辑
进程间通信:消息队列
摘要: http://blog.csdn.net/ljianhui/article/details/10287879 #include <sys/type.h>#include <sys/ipc.h>#include <sys/msg.h>int msgget(key_t key, int flag);in
阅读全文
posted @ 2017-04-08 20:59 soul.stone
阅读(258)
评论(0)
推荐(0)
编辑
Linux错误码
摘要: 1-34号错误号是在内核源码的include/asm-generic/errno-base.h定义35-132则是在include/asm-generic/errno.h中定义 #define EPERM 1 /* Operation not permitted*/ #define ENOENT 2
阅读全文
posted @ 2017-04-08 19:33 soul.stone
阅读(1330)
评论(0)
推荐(0)
编辑
Linux信号列表
摘要: 我们运行如下命令,可看到Linux支持的信号列表: 列表中,编号为1 ~ 31的信号为传统UNIX支持的信号,是不可靠信号(非实时的),编号为32 ~ 63的信号是后来扩充的,称做可靠信号(实时信号)。不可靠信号和可靠信号的区别在于前者不支持排队,可能会造成信号丢失,而后者不会。 下面我们对编号小于
阅读全文
posted @ 2017-04-08 19:30 soul.stone
阅读(384)
评论(0)
推荐(0)
编辑
makefile模板
摘要: 1,编译so 2,编译app
阅读全文
posted @ 2017-04-08 11:49 soul.stone
阅读(192)
评论(0)
推荐(0)
编辑
2017年4月7日
敏捷开发
摘要: 瀑布开发 瀑布模型(Waterfall Model)是Royce在1970年提出的,他把大型软件开发分为:分析与编程,象工厂流水线一样把软件开发过程分成各种工序,并且每个工序可以根据软件产品的规模、参与人员的多少进一步细分成更细的工序。该模型非常符合软件工程学的分层设计思路,所以成为软件开发企业使用
阅读全文
posted @ 2017-04-07 23:00 soul.stone
阅读(198)
评论(0)
推荐(0)
编辑
上一页
1
···
18
19
20
21
22
23
24
25
下一页
公告