\r
This file is part of the FreeRTOS.org distribution.\r
\r
\r
This file is part of the FreeRTOS.org distribution.\r
\r
- FreeRTOS.org is free software; you can redistribute it and/or modify it \r
+ FreeRTOS.org is free software; you can redistribute it and/or modify it\r
under the terms of the GNU General Public License (version 2) as published\r
by the Free Software Foundation and modified by the FreeRTOS exception.\r
\r
FreeRTOS.org is distributed in the hope that it will be useful, but WITHOUT\r
under the terms of the GNU General Public License (version 2) as published\r
by the Free Software Foundation and modified by the FreeRTOS exception.\r
\r
FreeRTOS.org is distributed in the hope that it will be useful, but WITHOUT\r
- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or \r
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for \r
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\r
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for\r
- You should have received a copy of the GNU General Public License along \r
- with FreeRTOS.org; if not, write to the Free Software Foundation, Inc., 59 \r
+ You should have received a copy of the GNU General Public License along\r
+ with FreeRTOS.org; if not, write to the Free Software Foundation, Inc., 59\r
Temple Place, Suite 330, Boston, MA 02111-1307 USA.\r
\r
Temple Place, Suite 330, Boston, MA 02111-1307 USA.\r
\r
- A special exception to the GPL is included to allow you to distribute a \r
+ A special exception to the GPL is included to allow you to distribute a\r
combined work that includes FreeRTOS.org without being obliged to provide\r
the source code for any proprietary components. See the licensing section\r
of http://www.FreeRTOS.org for full details.\r
combined work that includes FreeRTOS.org without being obliged to provide\r
the source code for any proprietary components. See the licensing section\r
of http://www.FreeRTOS.org for full details.\r
{\r
if( xTicksToWait == ( portTickType ) 0 )\r
{\r
{\r
if( xTicksToWait == ( portTickType ) 0 )\r
{\r
- /* The queue was full and no block time is specified (or \r
+ /* The queue was full and no block time is specified (or\r
the block time has expired) so leave now. */\r
taskEXIT_CRITICAL();\r
traceQUEUE_SEND_FAILED( pxQueue );\r
the block time has expired) so leave now. */\r
taskEXIT_CRITICAL();\r
traceQUEUE_SEND_FAILED( pxQueue );\r
{\r
taskENTER_CRITICAL();\r
{\r
{\r
taskENTER_CRITICAL();\r
{\r
- /* Is there space on the queue now? To be running we must be\r
+ /* Is there data in the queue now? To be running we must be\r
the highest priority task wanting to access the queue. */ \r
if( pxQueue->uxMessagesWaiting > ( unsigned portBASE_TYPE ) 0 )\r
{\r
the highest priority task wanting to access the queue. */ \r
if( pxQueue->uxMessagesWaiting > ( unsigned portBASE_TYPE ) 0 )\r
{\r
{\r
if( xTicksToWait == ( portTickType ) 0 )\r
{\r
{\r
if( xTicksToWait == ( portTickType ) 0 )\r
{\r
- /* The queue was empty and no block time is specified (or \r
+ /* The queue was empty and no block time is specified (or\r
the block time has expired) so leave now. */ \r
taskEXIT_CRITICAL();\r
traceQUEUE_RECEIVE_FAILED( pxQueue );\r
the block time has expired) so leave now. */ \r
taskEXIT_CRITICAL();\r
traceQUEUE_RECEIVE_FAILED( pxQueue );\r