Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation about how to adjust task stack size #20

Open
mikaelpatel opened this issue Feb 23, 2017 · 0 comments
Open

Add documentation about how to adjust task stack size #20

mikaelpatel opened this issue Feb 23, 2017 · 0 comments

Comments

@mikaelpatel
Copy link
Owner

mikaelpatel commented Feb 23, 2017

With the new stack coloring it is possible to capture the max task stack size and adjust. The basic working procedure is:

  1. Calculate a worst case stack size and add some additional head room.
  2. Add a call to the Scheduler.stack() member function and capture the maximum head room during execution.
  3. Reduce the initial stack size.
@mikaelpatel mikaelpatel changed the title Add working procedure to adjust stack size Add documentation about how to adjust task stack size Mar 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant