From 355abfdff6f1039f3b98b598c484f6103ade9749 Mon Sep 17 00:00:00 2001 From: timoxd7 <32987859+timoxd7@users.noreply.github.com> Date: Thu, 17 Nov 2022 20:20:29 +0100 Subject: [PATCH] Queue Send fix Fixes rare deadlock on heavy loaded multicore-systems. --- components/freertos/FreeRTOS-Kernel/queue.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/components/freertos/FreeRTOS-Kernel/queue.c b/components/freertos/FreeRTOS-Kernel/queue.c index e5929a21fe..17a33ee475 100644 --- a/components/freertos/FreeRTOS-Kernel/queue.c +++ b/components/freertos/FreeRTOS-Kernel/queue.c @@ -1693,15 +1693,6 @@ BaseType_t xQueueSemaphoreTake( QueueHandle_t xQueue, { if( xTicksToWait == ( TickType_t ) 0 ) { - /* For inheritance to have occurred there must have been an - * initial timeout, and an adjusted timeout cannot become 0, as - * if it were 0 the function would have exited. */ - #if ( configUSE_MUTEXES == 1 ) - { - configASSERT( xInheritanceOccurred == pdFALSE ); - } - #endif /* configUSE_MUTEXES */ - /* The semaphore count was 0 and no block time is specified * (or the block time has expired) so exit now. */ taskEXIT_CRITICAL( &( pxQueue->xQueueLock ) );