\r
/* Increment the RTOS tick. */\r
ulSavedInterruptMask = portSET_INTERRUPT_MASK_FROM_ISR();\r
- vTaskIncrementTick();\r
+ if( xTaskIncrementTick() != pdFALSE )\r
+ {\r
+ taskYIELD();\r
+ }\r
portCLEAR_INTERRUPT_MASK_FROM_ISR( ulSavedInterruptMask );\r
-\r
- /* If we are using the pre-emptive scheduler then also request a\r
- context switch as incrementing the tick could have unblocked a task. */\r
- #if configUSE_PREEMPTION == 1\r
- {\r
- taskYIELD();\r
- }\r
- #endif\r
}\r
\r
/* Increment the RTOS tick. */\r
ulSavedInterruptMask = portSET_INTERRUPT_MASK_FROM_ISR();\r
- vTaskIncrementTick();\r
+ if( xTaskIncrementTick() != pdFALSE )\r
+ {\r
+ taskYIELD();\r
+ }\r
portCLEAR_INTERRUPT_MASK_FROM_ISR( ulSavedInterruptMask );\r
-\r
- /* If we are using the pre-emptive scheduler then also request a\r
- context switch as incrementing the tick could have unblocked a task. */\r
- #if configUSE_PREEMPTION == 1\r
- {\r
- taskYIELD();\r
- }\r
- #endif\r
}\r
\r
/* Increment the RTOS tick. */\r
ulSavedInterruptMask = portSET_INTERRUPT_MASK_FROM_ISR();\r
- vTaskIncrementTick();\r
+ if( xTaskIncrementTick() != pdFALSE )\r
+ {\r
+ taskYIELD();\r
+ }\r
portCLEAR_INTERRUPT_MASK_FROM_ISR( ulSavedInterruptMask );\r
-\r
- /* If we are using the pre-emptive scheduler then also request a\r
- context switch as incrementing the tick could have unblocked a task. */\r
- #if configUSE_PREEMPTION == 1\r
- {\r
- taskYIELD();\r
- }\r
- #endif\r
}\r
\r
/* Increment the RTOS tick. */\r
ulSavedInterruptMask = portSET_INTERRUPT_MASK_FROM_ISR();\r
- vTaskIncrementTick();\r
+ if( xTaskIncrementTick() != pdFALSE )\r
+ {\r
+ taskYIELD();\r
+ }\r
portCLEAR_INTERRUPT_MASK_FROM_ISR( ulSavedInterruptMask );\r
-\r
- /* If we are using the pre-emptive scheduler then also request a\r
- context switch as incrementing the tick could have unblocked a task. */\r
- #if configUSE_PREEMPTION == 1\r
- {\r
- taskYIELD();\r
- }\r
- #endif\r
}\r
necessitates. Ensure IPL is at the max syscall value first. */\r
portDISABLE_INTERRUPTS_FROM_KERNEL_ISR();\r
{\r
- if( TaskIncrementTick() != pdFALSE )\r
+ if( xTaskIncrementTick() != pdFALSE )\r
{\r
taskYIELD();\r
}\r