Home/Support/Support Forum/Timer and stack size
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Timer and stack size

0 votes
I have problem when I launch function with a timer!
Do you know the stack size allowed for function with a timer?
I can't find any info for stack in the doc on timer usage.

Thank
asked Jul 21, 2005 in NET+OS by rlef New to the Community (2 points)
recategorized Dec 18, 2013 by tuxembb

Please log in or register to answer this question.

3 Answers

0 votes
There is no enforced maximum stack size, aside from the fact that you cannot give the thread a stack with a size greater than the total amount of available free RAM.

There is, however, a minimum stack size requirement of 200 bytes.

Cameron
answered Jul 21, 2005 by Cameron Seasoned Professional (221 points)
0 votes
Just a question, how do you set the stack size for a timer (tx_timer_create) function? There is no parameter for that.

-Erik
answered Jul 22, 2005 by egawtry Veteran of the Digi Community (349 points)
0 votes
Erik,

You make a good point. Please pay no attention to the man behind the curtain.

I guess I should make certain that I read the question thoroughly prior to responding. As Erik points out a ThreadX time does not need a stack.

Cameron
answered Jul 22, 2005 by Cameron Seasoned Professional (221 points)
ThredX software Interrupt
...