mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-14 08:01:38 +01:00
assert queueLen at the point where it'll be easier track why it's overgrowing
This commit is contained in:
parent
232b27e06a
commit
bbac923f68
1 changed files with 2 additions and 0 deletions
|
@ -1065,6 +1065,8 @@ addToQueue( CommsCtxt* comms, MsgQueueElem* newMsgElem )
|
|||
XP_ASSERT( comms->queueLen > 0 );
|
||||
}
|
||||
++comms->queueLen;
|
||||
XP_ASSERT( comms->queueLen <= 128 ); /* reasonable limit in testing */
|
||||
printQueue( comms );
|
||||
} /* addToQueue */
|
||||
|
||||
#ifdef DEBUG
|
||||
|
|
Loading…
Reference in a new issue