more RTEMS join
This commit is contained in:
1 parent
93a96e33c0
commit
14440b2d9d
2 files changed
+11
-3
No files matched your search
@@ -172,10 +172,17 @@ MAIN(epicsThreadTest)
|
||||
unsigned int ncpus = epicsThreadGetCPUs();
|
||||
testDiag("System has %u CPUs", ncpus);
|
||||
testOk1(ncpus > 0);
|
||||
testDiag("main() thread %p", epicsThreadGetIdSelf());
|
||||
|
||||
testMyThread();
|
||||
testSelfJoin();
|
||||
testOkToBlock();
|
||||
|
||||
// attempt to self-join from a non-EPICS thread
|
||||
// to make sure it does nothing as expected
|
||||
eltc(0);
|
||||
epicsThreadMustJoin(epicsThreadGetIdSelf());
|
||||
eltc(1);
|
||||
|
||||
return testDone();
|
||||
}
|
||||
Reference in new issue
Block a user