摘要: 现在多CPU的趋势越来越大了. 有时候为了更好地操作机器, 需要将某个进程绑定到具体的CPU上去. 下面给出了一个进程绑定到具体的CPU上去的一个例子.cpu.c[CODE]#include<stdlib.h>#include<stdio.h>#include<sys/types.h>#include<sys/sysinfo.h>#include<unistd.h>#define __USE_GNU#include<sched.h>#include<ctype.h>#include<string.h> 阅读全文
posted @ 2011-10-18 18:12 深圳-宝爷 阅读(891) 评论(0) 推荐(1) 编辑
摘要: Betajaen’s shortguide to NxOgreBetajaen的NxOgre简短教程——宝爷译Alpha and Omega —A bit of everything整个世界中的所有东西World就像我们的宇宙,漫无边际而且只有唯一的一个。我们在world里面的东西叫做Scene,它们是有大小的。Scene和Scene之间不会有交集TheWorldis like our universe, it’s infinite in size and there can be only one of them.Inside the world we have things called 阅读全文
posted @ 2011-10-18 17:51 深圳-宝爷 阅读(658) 评论(0) 推荐(0) 编辑