libCom/osi: use epicsThreadGetCPUs implementation from thread-pool branch (posix, WIN32)

This commit is contained in:
Ralph Lange
2014-05-18 17:24:38 +02:00
parent 286bfc5215
commit 722d5eeba7
3 changed files with 22 additions and 3 deletions

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];