Re: PTHREAD_THREADS_MAX missing?
Christoph Hellwig <[email protected]>
| Newsgroups | gmane.comp.lib.phil |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Apr 02, 2003 at 10:36:03AM -0600, Steven Munroe wrote: > Has anyone run LTP against nptl recently? > > The ltp-20030324 version compile of trace_sched.c fails because > PTHREAD_THREADS_MAX is not defined. Linuxthreads defines this in > /sysdeps/unix/sysv/linux/bits/local_lim.h > > Should nptl define this (or similar) symbol? Or should this sort of thing be > defined only in kernel headers (include/linux/threads.h)? nptl has no hardcoded thread limits, see tst-sysconf.c. The kernel doesn't have a hardcoded number of threads (well, except PID_MAX) aswell.