[lkml]   [1998]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Thread implementations...
    MOLNAR Ingo <> writes:

    > also, wondering wether LinuxThreads could just use the same trick the
    > kernel uses to access the 'current' thread, by doing %%esp & ~-8192 to
    > access to 'start' of the kernel stack, there one could store the thread
    > structure? [hm, not sure wether this works for LinuxThreads, in the kernel
    > we can guarantee that the kernel stack is 8K aligned]

    Something like this is done currently on some of the platforms but
    this has to be changed in the presence of user-defined stacks.

    ---------------. drepper at ,-. 1325 Chesapeake Terrace
    Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
    Cygnus Solutions `--' drepper at `------------------------

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to

     \ /
      Last update: 2005-03-22 13:43    [W:0.019 / U:2.984 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site