Merged Ralph's get-cpus branch.

This commit is contained in:
Andrew Johnson
2014-05-19 09:44:05 -05:00
7 changed files with 50 additions and 3 deletions
+5 -1
View File
@@ -81,7 +81,11 @@ static void thread(void *arg)
MAIN(epicsThreadTest)
{
testPlan(8);
testPlan(9);
unsigned int ncpus = epicsThreadGetCPUs();
testDiag("System has %u CPUs", ncpus);
testOk1(ncpus > 0);
const int ntasks = 3;
myThread *myThreads[ntasks];