Quality RTOS & Embedded Software

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


Task Suspend Point

Posted by saiberion on May 6, 2008
Is it possible to find out at which point a task has been suspended?

For example if a task is suspended by another task it is unknown at which point the task is put onto the suspend list. But where can I find out with eclipse debugger (gdb) when the task was interrupted?

RE: Task Suspend Point

Posted by Dave on May 6, 2008
The context of a task is saved to the task stack if the task is not currently in the Running state. Part of the context is the program counter value for that task. The only thing you could do is look at the task stack and find the program counter value. This would tell you which line was being executed by the task when it was suspended.

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

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

Latest News

Version 10.1.0 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