need to increase PTHREAD_THREADS_MAX.

We have an application that creates pthreads. The problem being when we hit the PTHREAD_THREADS_MAX. This is defined in limits.h. Is there anyway to bump this # up thru some system setting?.

i.e Is it possible to increase the number of pthreads available to a process ?

How:

1) Recompile the application with a different value for POSIX_THREAD_MAX (basicallly modify the limits.h value) ?

2) Modify a system level value (maybe config file) ?

3) Is is not possible because you need a different kernel ?

4) Other solution ?

Thanks,

Srini

[598 byte] By [srini_raj_2k] at [2007-11-13]