Hi all, Sorry, I have tried to find solution from the mail archive, but my effort failed! My program crashed quite unpredictably. I wonder it is the stack size that causes the problem. Questions: 1) What are the common stack consideration and limitation by using RTLinux; 2) How to change the stack size of a thread. Can I use thread_attr_setstacksize(). Best regard! James -- [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/