We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fd7f17 commit ee2ee4dCopy full SHA for ee2ee4d
queue.c
@@ -833,6 +833,10 @@ static void prvInitialiseNewQueue( const UBaseType_t uxQueueLength,
833
if( pxMutex->u.xSemaphore.xMutexHolder == xTaskGetCurrentTaskHandle() )
834
{
835
( pxMutex->u.xSemaphore.uxRecursiveCallCount )++;
836
+
837
+ /* check if an overflow occurred */
838
+ configASSERT( pxMutex->u.xSemaphore.uxRecursiveCallCount );
839
840
xReturn = pdPASS;
841
}
842
else
0 commit comments