- /* There is nothing in the queue, block for the specified period,\r
- provided the period is not zero. This guards against the case\r
- where the time to wake is set to zero because there are no active\r
- timers, but the tick count value also happens to be zero - creating\r
- a block time of zero which confuses the logic. */\r
- if( 1 )//_RB_if( xTicksToWait != 0U ) //_RB_ This should not be needed as the scheduler is suspended so the tick count cannot increment.\r
- {\r
- vTaskPlaceOnEventListRestricted( &( pxQueue->xTasksWaitingToReceive ), xTicksToWait );\r
- }\r
+ /* There is nothing in the queue, block for the specified period. */\r
+ vTaskPlaceOnEventListRestricted( &( pxQueue->xTasksWaitingToReceive ), xTicksToWait );\r