Merge branch 'master' of gitea.larke.org:klarke/libcw
This commit is contained in:
commit
8e1fce703c
@ -77,7 +77,7 @@ namespace cw
|
|||||||
c->share->readyFl.store(true,std::memory_order_release);
|
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;
|
uint8_t curCheckSum = 0;
|
||||||
for(unsigned i=0; i<kDataByteN; ++i)
|
for(unsigned i=0; i<kDataByteN; ++i)
|
||||||
@ -163,7 +163,7 @@ cw::rc_t cw::testSpScQueueTmpl()
|
|||||||
goto errLabel;
|
goto errLabel;
|
||||||
}
|
}
|
||||||
|
|
||||||
sleepMs(5000);
|
sleepMs(60 * 1000);
|
||||||
|
|
||||||
errLabel:
|
errLabel:
|
||||||
if((rc0 = thread_mach::destroy(h)) != kOkRC )
|
if((rc0 = thread_mach::destroy(h)) != kOkRC )
|
||||||
|
Loading…
Reference in New Issue
Block a user