oh, I see , you are talking about Unix , not RTOS

numnum (numnum)
If you want to change user process stack size, use ulimit shell command to modify it(ulimi -s). As for kernel, there is no easy way to change it... emmm... maybe you can try to modify /etc/system, which is a file that configures kernel parameter upon boot, but be careful, you might make your unix box unbootable.

2001-4-24 -04:00

回到话题: Wish experts answer my questions in c programming under Unix in a real time system: Thanks! 1. how to enlarge the stack size in a c program? 2. should main() be the driver function in in a c program?

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论