cwNbMpScQueue.cpp : Added more info to error msg. in push(h,blob,blobByteN)

This commit is contained in:
kevin 2025-03-08 11:22:40 -05:00
parent e6524ea945
commit 249400d2ce

View File

@ -323,12 +323,12 @@ cw::rc_t cw::nbmpscq::push( handle_t h, const void* blob, unsigned blobByteN )
{ {
// TODO: continue to iterate through the blocks waiting for the consumer // TODO: continue to iterate through the blocks waiting for the consumer
// to make more space available. // to make more space available.
//_block_report(p); // _block_report(p);
// BEWARE: BUG BUG BUG: Since the cwLog makes calls to cwWebSocket // BEWARE: BUG BUG BUG: Since the cwLog makes calls to cwWebSocket
// this error message, and subsequent error messages, // this error message, and subsequent error messages,
// will result in a recursive loop which will crash the program. // will result in a recursive loop which will crash the program.
rc = cwLogError(kBufTooSmallRC,"NbMpScQueue overflow."); rc = cwLogError(kBufTooSmallRC,"NbMpScQueue overflow. Increase 'queueBlkCnt' and/or 'queueBlkByteCnt'");
} }