Mercurial > hg > Game > Cerium
view TaskManager/CpuThreadsTest/CpuThreadsTest.cc @ 1178:cb8161fd0af1 draft
add CpuThreads Test code.
author | Daichi TOMA |
---|---|
date | Sat, 18 Jun 2011 03:25:31 +0900 |
parents | |
children | 5393bebe0956 |
line wrap: on
line source
#include <stdio.h> #include "TaskManager/CpuThreads.h" static void test1() { CpuThreadsPtr m = new CpuThreads(3); m->init(); delete m; } int main(int ac, const char *av[]) { test1(); printf("CpuThreads succeed\n"); } /* end */