首先,介绍几种常见的I/O模型及其区别,如下: blocking I/O nonblocking I/O I/O multiplexing (select?and?poll) signal driven I/O (SIGIO) asynchronous I/O (the POSIX?aio_functions) blocking I/O? 这...
分类:
其他好文 时间:
2014-08-04 14:47:17
阅读次数:
241
#include<stdio.h>#include<stdlib.h>#include<deque>#include<string>#include<string.h>#include<pthread.h>#include<signal.h>#include<assert.h>#include"clock.h"std::deque<std::string>task_queue;pthread_mutex..
分类:
编程语言 时间:
2014-08-04 14:43:17
阅读次数:
279
原因:将stdafx.cpp 的预编译头属性 由创建预编译头(/Yc)改成了使用预编译头(/Yu)解决:改回为创建预编译头(/Yc)参考文档http://blog.csdn.net/you_lan_hai/article/details/6966038
分类:
其他好文 时间:
2014-08-04 13:55:57
阅读次数:
3307
Described herein is a method and an apparatus for training a memory signal via an error signal of a memory. The method comprises transmitting from a m...
分类:
移动开发 时间:
2014-08-04 13:38:47
阅读次数:
454
给对话框添加类, 报错CalibrateMFCDlg.h(6) : error C2504: “CDialog”: 未定义基类等多个错误加上 #include "afxwin.h" 就会包如上错误fatal error C1189: #error : WINDOWS.H already includ...
分类:
移动开发 时间:
2014-08-04 10:29:56
阅读次数:
396
2014年8月3日 信号处理程序调用过程
当一个进程接收到一个信号时,需要暂停进程执行转去执行专门的信号处理函数(如果定义了这个信号的专门处理函数的话),然后再继续执行进程代码。
所有的信号处理都是通过内核函数do_signal进行的,do_signal如果发现需要处理的信号,并且这个信号有专门的处理函数,就需要调用这个用户态的函数,这是通过handle_signal来处理的。执行信号处理函数...
分类:
系统相关 时间:
2014-08-03 20:43:15
阅读次数:
911
1。直接用mysqld手工启动[root@ora11g bin]# ./mysqld --defaults-file=../my.cnf 140328 10:04:37 [ERROR] Fatal error: Please read "Security" section of the manual...
分类:
数据库 时间:
2014-08-02 23:23:24
阅读次数:
402
2014-06-18 20:34:59,622 FATAL org.apache.hadoop.hdfs.server.datanode.DataNode: Initialization failed for block pool Block pool (Datanode Uuid unassig....
分类:
其他好文 时间:
2014-08-02 12:13:03
阅读次数:
269