This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.
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 Sun, Apr 07, 2002 at 06:09:40PM -0400, Roland McGrath wrote: > The reason _dl_init_first is special is that our version for cthreads has > to be able to switch stacks and move the arguments from the old stack. > Normal initializers are called from inside a few stack frames that would > make that all screw up. The need for this will go away when we get rid of > cthreads and use the thread register so that the main thread can have its > original stack. Did you already made up your mind what the way to go is? If I remember correctly you suggested in some post to libc-hacker a few months ago to implement it using an constant segment register pointing to a word which is changed at thread switch and that word is the pointer to the thread specific data. Jeroen Dekkers -- Jabber supporter - http://www.jabber.org Jabber ID: jdekkers@jabber.org Debian GNU supporter - http://www.debian.org http://www.gnu.org IRC: jeroen@openprojects
Attachment:
msg00022/pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |