>>>>> "drepper" == Ulrich Drepper <[EMAIL PROTECTED]> writes:
drepper> You should at least try to get some understanding on the
drepper> current situation before complaining loudly. None of your
drepper> points is valid for the LinuxThreads version which currently
drepper> is released with the glibc test releases.
I am now looking at glibc-linuxthreads-2.0.110 (I hope that is current
enough), and the only relevant differences I see are:
1) The library calls "setrlimit" to set the current stack size limit
to a little under 2 meg.
2) There is a "__pthread_nonstandard_stacks" variable which appears
to allow, in principle, different threads to have different-sized
stacks.
It seems to me that (1) does not solve the problem, because any user
program that (completely legitimately) calls "setrlimit" itself will
break the library. This could be fixed by defining STACK_SIZE to be
larger than (or equal to) the kernel-enforced hard limit.
As for (2), the support isn't really there; the variable
__pthread_nonstandard_stacks is initialized to zero and never
modified. This appears to be the start of a not-yet-finished
interface.
Since "none of my points is valid for the LinuxThreads version which
currently is released with the glibc test releases", I assume I am
missing something. What is it?
- Pat