Skip to main content
Knowledgebase
Home
Renesas Electronics America - Knowledgebase

Any release of stack area of non-operating task for another task stack?

Latest Updated:12/01/2011

Question:

The stack size of each task is specified in the configuration file.
Is it possible to release the stack area of a non-operating task for another task stack?
Or must the stack be secured continuously and independently regardless of the operating state of each task?

Answer:

Basically, it must be secured for each task.
We are not sure what you mean by the operating state of each task but for a task in the sleep state, the stack is used to retain that status.

In the RX850, if tasks that do not operate at the same time are grouped together, the stack area can be reduced.
In this case, the user must manage tasks carefully (ensure that these tasks do not operate at the same time).

(Refer to 3.2, "Task Execution Right" in the Basics User's Manual.)

Suitable Products
  • Was this article helpful?