Quality RTOS & Embedded Software

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




Loading

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 ]    [ Sitemap ]    [ ]




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

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

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