06 2010 档案
摘要:windows1 process
阅读全文
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--#ifndef_PERF_TIMER_H_#define_PERF_TIMER_H_#ifdef_WIN32#include<windows.h>#else#include<sys/...
阅读全文
摘要:header代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--voidsocket_init();voidsocket_term();intsocket_create_acceptor(u_shortport,boolreuse=false);int...
阅读全文
摘要:awtools.h代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--#ifndefAWTOOLS_H_#defineAWTOOLS_H_#include<sstream>namespaceAWTookit{ template<cla...
阅读全文
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--/**main.cpp**Createdon:Feb9,2010*Author:weiyuwang*/#include<signal.h>#include<unistd.h>#...
阅读全文
摘要:文档选项未显示需要 JavaScript 的文档选项打印本页 将此 页作为电子邮件发送样例代码http://www.ibm.com/developerworks/cn/linux/l-cn-optimization/index.html级 别: 中级杨 小华 (normalnotebook@126.com), 软件工程师2008 年 11 月 17 日大家也许还记得 2005 年 3 月 ...
阅读全文
摘要:http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3Content: The ProblemWhat is PIC?What are "relocations"?Case 1: Broken compilerCase 2: Broken `-fPIC' support checks in config...
阅读全文
摘要:OpenMP使用Fork-Join的并行执行模式。开始时由一个主线程执行程序,该线程一直串行地执行,直到遇到第一个并行化制导语句后才 开始并行执行。过程如下: ①Fork:主线程创建一队线程并行执行并行域中的代码;②Join:当各线程执行完毕后被同步或中断,最后又只有主线程在执行。 OpenMP的编程相对简单,充分利用了共享存储体系结构的特点,避免了消息传递的开销。虽...
阅读全文
摘要:http://stackoverflow.com/questions/620137/do-the-parentheses-after-the-type-name-make-a-difference-with-newif 'Test' is an ordinary class, is there any difference between:Sometimes the memory returned...
阅读全文

浙公网安备 33010602011771号