[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Pthread Stacks
Dear Cleagues,
I would appreciate your
Threads and stack size
1. When setting stack size using pthread_setr_setstacksize(), it appears the
minimum stack size that can be set is about 16k. How is this deturmined ?
2. The default stack size for a thread is about 2Mb. This is what is set by
pthread_attr_init() . Why so much?
3. Is a thread's stack set by pthread_setr_setstacksize(), realy 'private',
or will some exception handlers use it randomly ?
Nicholas Papachristos
<'(((>< <'(((>< <'(((>< <'(((>< <'(((>< <'(((><
__________________________________________
mailto:Nicholas_Papachristos@Contractor.Net
mailto:Nicholas.Papachristos@Tenovis.Com
__________________________________________
><)))'> ><)))'> ><)))'> ><)))'> ><)))'> ><)))'>