Gilles Chanteperdrix wrote: > Setting the stack size with pthread_attr_setstacksize seems to allow > a stack greater than the limit fixed by ulimit, but I do not think it > is wise to rely on such a behaviour.
If one wants to have always the same stack size for every thread than ulimit -s would be probably the way to go. But often in Realtime applications it is the preferred way of setting the stack size individually, so one doesn't waste too much memory. A mixture of both seems to be tempting: setting a general stack size and individually change it. So why not rely on this ? Which part in the system actually creates the stack for a Xenomai task and how is the interaction between Linux and Xenomai to derive the general system wide stack limit to a Xenomai task ? Is there a way to find out, which thread has which stack size ? Daniel _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
