FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [April 2008 Threads] calling prvCheckTasksWaitingTerminationPosted by Wildcard on April 21, 2008 Hello, iam trying to restart a task in my app. First i delete the task and then i create a new one of this type. I know that the idle task will clean up the memory, but what if the idle-task can not run anytime. What could go wrong if i call prvCheckTasksWaitingTermination(...) right after deleting the task manually from a user-level "control" task? In my App unfortunatly the idle task is always starved of microcontroller processing time :(
Thank you.
RE: calling prvCheckTasksWaitingTerminationPosted by Richard on April 23, 2008 I don't see a problem with this, although I should remove the call from the idle task to ensure there are no conflicts with both your task and the idle task accessing the data structures at the same time. You would also have to make prvCheckTasksWaitingTermination() public, rather than static.
Search the forum for other solutions to this. There was a discussion within the last month or two.
Regards.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|