Re: Q: Thread local storage, thread IDs

cd_smith@ou.edu
Thu, 29 Jul 1999 08:37:24 -0500 (CDT)


On Thu, 29 Jul 1999, [iso-8859-1] Jörg Pleumann wrote:
> BTW: In your first mail you told be to put the required stack-specific
> information on top of the stack. This would also be an acceptable
> solution for my problem, but does it really work in i386-Linux? The
> segment limits are all set to 0xFFFFFFFF, so is the limit of the stack
> segment (I tried LSL). Is there a way to access the stack-top that I
> don't see?

Well, you could check out the LinuxThreads code which does this, but given
your requirements, I think the modify_ldt call that's been mentioned
elsewhere is the better solution -- less changes to the Windows code I
guess.

Chris Smith <cd_smith@ou.edu>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/