more ref. count tracking and break some loops

This commit is contained in:
Michael Davidsaver
2016-01-29 16:15:34 -05:00
parent 9d561f63a6
commit aecd8471e1
6 changed files with 43 additions and 4 deletions
+3 -1
View File
@@ -176,10 +176,12 @@ MAIN(testmon)
int ok = 1;
size_t temp;
#define TESTC(name) temp=epicsAtomicGetSizeT(&name::num_instances); ok &= temp==0; testDiag("num. live " #name " %u", (unsigned)temp)
TESTC(GWChannel);
TESTC(ChannelCacheEntry::CRequester);
TESTC(ChannelCacheEntry);
TESTC(MonitorCacheEntry);
TESTC(MonitorUser);
#undef TESTC
testOk(temp, "All instances free'd");
testOk(ok, "All instances free'd");
return testDone();
}