views:

418

answers:

1

Hello,

I am looking for a configurable / tunable on Solaris 9 through which I can change the default thread stack size without recompiling the code to use "pthread_attr_setstacksize"

For example on HPUX 11.11 / 11.23 the environment variable "PTHREAD_DEFAULT_STACK_SIZE" can be exported (available via HPUX patches PHCO_38307 / PHCO_38955 ) - Is there a equivalent Solaris 9 way to achieve the same ?

Thanks! Satya

+1  A: 

Use Kernel Parameters

http://docs.sun.com/app/docs/doc/817-1759/6mhfh76gs?a=view

joe