About Thread limit

Is there a thread limit using pthreads under linux?

Miguel Angel Blanch Lardin
Arianne RPG developer
http://come.to/arianne_rpg

In article <7v1a51$i4a$1 at mail.lokigames.com>,
x5101920 at turing.ugr.es writes:

Is there a thread limit using pthreads under linux?

Miguel Angel Blanch Lardin
Arianne RPG developer
http://come.to/arianne_rpg

Yes - native threads on Linux use an entry in the processes
table, so the maximum number of simultaneous processes is also
the number of simultaneous threads supported by Linux.

However this limit can be changed in the Linux kernel if you need
to …–
Stephane Peter
Programmer
Loki Entertainment Software

hi`

Stephane Peter wrote:

In article <7v1a51$i4a$1 at mail.lokigames.com>,
x5101920 at turing.ugr.es writes:

Is there a thread limit using pthreads under linux?

Miguel Angel Blanch Lardin
Arianne RPG developer
http://come.to/arianne_rpg

Yes - native threads on Linux use an entry in the processes
table, so the maximum number of simultaneous processes is also
the number of simultaneous threads supported by Linux.

However this limit can be changed in the Linux kernel if you need
to …

Well, there is another limit called PTHREAD_THREADS_MAX and that is 1024
on my system (defined in /usr/include/bits/local_lim.h).–
Daniel Vogel

666 @ http://grafzahl.de