On Thu, 27 Apr 2000, [iso-8859-1] roux jean-denis wrote:

>   What happens if the the stack size is not at the
> good size (too big or not enough) when I init a RT
> task ?

Too big: wasted memory. Too small: crash.

>   How may I choose this size, I mean what is the
> relation between the code I have to execute and the
> size I have to give ?

Bigger than a sum of sizes of all variables you create on the stack (all
function's parameters and automatic variables). Just use about 8 KB or 4 KB.

--
Tomek 

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to