Subj : Re: pthread_create and memory To : comp.programming.threads From : jd Date : Fri Mar 11 2005 01:40 pm > Thank you.I try but nothing change. > Do you have the same problem ? > Is possible that the problem depends from whitch library I use ? I don't think so. Most probably, as Giancarlo mentioned, you must set variable (constant) MY_STACK_SIZE to be equar or greater than PTHREAD_STACK_MIN. On my system it's equal to 16384, no less, no more. Och, and you should read man page for pthread_attr_setstacksize() of course. JD .