This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Fri, Nov 30, 2001 at 10:42:51AM +0100, Andreas Schwab wrote: > + if (sp >= __pthread_initial_thread_bos) > + return &__pthread_initial_thread; How could it be initial thread? Even if it could (it cannot), for FLOATING_STACKS, this is totally bogus test (sp >= -1) and for non-floating stacks there is no guarantee that there are no thread stacks above initial thread stack (think about sparc64, where sp initial thread stack is below VM hole, while thread stacks can be in the mmap area (after VM hole)). Jakub
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |