libCom/osi: use epicsThreadGetCPUs implementation from thread-pool branch (posix, WIN32)
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user