Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


tasks.c updated

Posted by John W. on January 18, 2007

I just noticed that tasks.c has been updated in trunk:

in tags/4.1.3:

if( ( xNumOfOverflows != pxTimeOut->xOverflowCount ) && ( xTickCount > pxTimeOut->xTimeOnEntering ) )

in trunk has been changed:
if( ( xNumOfOverflows != pxTimeOut->xOverflowCount ) && ( xTickCount >= pxTimeOut->xTimeOnEntering ) )

Richard's comment:

Revision: 59
Author: richardbarry
Date: 12:10:04 AM, Friday, January 12, 2007
Bug fix in xTaskCheckForTimeOut() in the case where the tick count has incremented by exactly portMAX_DELAY ticks between two calls (i.e. extremely unlikely).
Modified : /trunk/Source/tasks.c

I have an SVN question - is what's in 'trunk' always the latest with SVN? I suppose you have to make a new tag for code updates to be reflected in tags?

John W.

RE: tasks.c updated

Posted by Richard on January 18, 2007
Hi John,

Yes - trunk is always the 'head revision'. Changes from the last release will be in trunk. The tags directory contains the release baselines.

This change relates to something that was picked up in the SafeRTOS testing program (which is somewhat detailed). The problem it fixes is one of those one in a billion billion occurrences, but a problem none the less.


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers


STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner