Sep2722:29:09athCompute77kernel:EDACMC1:CErow0,channel0,label"CPU_SrcID#1_Channel#0_DIMM#0":2Unknownerror(s):memoryscrubbingonFATALareaOVERFLOW:cpu=1Err=0008:00c2(ch=2),addr=0xbfd630000=>socket=1,Channel=0(mask=1),rank=1
Sep2722:29:09athCompute77kernel:..
分类:
其他好文 时间:
2014-09-28 02:50:11
阅读次数:
1401
源码安装 openssl
因为sha1计算的需要,要求有openssl/sha.h头文件,所以要安装 openssl 和 libssl-dev 否则会报错: fatal error: openssl/sha.h:
No such file or directory。由于这台机器不能直接上网,就需要下载源码进行安装。不装 libssl-dev 的话,程序仍然找不到相应的头文件...
分类:
其他好文 时间:
2014-09-26 20:02:48
阅读次数:
244
1.使用14号信号SIGALRM,调用alarm函数
#include
#include
#include
#include
#include
void handle(int signum)
{
printf("hello\n");
}
int main(int argc, const char *argv[])
{
signal(SIGALRM, handle);...
分类:
系统相关 时间:
2014-09-25 19:53:47
阅读次数:
270
原创文章转载请注明出处:@协思,http://zeeman.cnblogs.com看Log4js源码有如下实现:1 ['Trace','Debug','Info','Warn','Error','Fatal'].forEach(2 function(levelString) {3 thi...
分类:
编程语言 时间:
2014-09-25 15:30:59
阅读次数:
213
软中断信号(signal,又简称为信号)用来通知进程发生了异步事件。进程之间可以互相通过系统调用kill发送软中断信号。内核也可以因为内部事件而给进程发送信号,通知进程发生了某个事件。注意,信号只是用来通知某进程发生了什么事件,并不给该进程传递任何数据。简介收到信号的进程对各种信号有不同的处理方法。...
分类:
系统相关 时间:
2014-09-24 17:34:17
阅读次数:
258
在我下载Android源代码时,在最后一步调用repo sync,出现“fatal: '../platform/abi/cpp.git' does not appear to be a git repository”,后来在网上查了资料,参考http://zxquiet.iteye.com/blog...
分类:
移动开发 时间:
2014-09-24 14:05:56
阅读次数:
268
进程间的通信方式: 1.管道(pipe)及有名管道(named pipe):管道可用于具有亲缘关系进程间的通信,有名管道除了具有管道所具有的功能外,它还允许无亲缘关系进程间的通信。2.信号(signal): 信号是在软件层次上对中断机制的一种模拟,它是比较复杂的通信方式,用于通知进程有某事件发生,一...
分类:
其他好文 时间:
2014-09-23 13:48:54
阅读次数:
162
目录: http://blog.csdn.net/alex_my/article/details/39346381
signals
1 signal concepts
信号是一种软中断,可以由以下情形触发:
-1: 用户按下某些终端键,例如ctrl + D
-2: 硬件异常,例如除数为0,无效的内存引用
-3:kill(2), kill(1)...
分类:
其他好文 时间:
2014-09-23 10:54:47
阅读次数:
374
pthread_cond_wait()用于阻塞当前线程,等待别的线程使用pthread_cond_signal()或pthread_cond_broadcast来唤醒它。pthread_cond_wait()必须与pthread_mutex 配套使用。pthread_cond_wait()函数一.....
分类:
其他好文 时间:
2014-09-23 01:37:13
阅读次数:
347
http://www.cnblogs.com/wangmars/p/3255044.html
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (javaClasses.cpp:136), pid=1996, tid=11456
# fatal error: ...
分类:
移动开发 时间:
2014-09-23 00:04:23
阅读次数:
295