[Gllug] Max number of pthreads in Linux ?
salsaman at xs4all.nl
salsaman at xs4all.nl
Wed Mar 26 06:38:49 UTC 2008
Hi all,
does anybody know the maximum number of threads libpthread will support on
Linux ? The only information I could find was in
/usr/include/bits/local_lim.h:
/* The number of data keys per process. */
#define _POSIX_THREAD_KEYS_MAX 128
/* This is the value this implementation supports. */
#define PTHREAD_KEYS_MAX 1024
and:
/* The number of threads per process. */
#define _POSIX_THREAD_THREADS_MAX 64
/* We have no predefined limit on the number of threads. */
#undef PTHREAD_THREADS_MAX
Cheers,
Gabriel.
http://lives.sourceforge.net
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list