Merge branch 'master' of gitea.larke.org:klarke/libcw

This commit is contained in:
kevin.larke 2020-04-20 15:01:30 -04:00
commit 8e1fce703c

View File

@ -77,7 +77,7 @@ namespace cw
c->share->readyFl.store(true,std::memory_order_release);
}
if((m = c->share->q->pop()) != nullptr )
while((m = c->share->q->pop()) != nullptr )
{
uint8_t curCheckSum = 0;
for(unsigned i=0; i<kDataByteN; ++i)
@ -163,7 +163,7 @@ cw::rc_t cw::testSpScQueueTmpl()
goto errLabel;
}
sleepMs(5000);
sleepMs(60 * 1000);
errLabel:
if((rc0 = thread_mach::destroy(h)) != kOkRC )