lkml.org 
[lkml]   [2002]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch] threading fix, tid-2.5.47-A3

    On Sun, 17 Nov 2002, Ulrich Drepper wrote:
    >
    > which works for me. But since in schedule_tail() the code reads
    >
    > + if (current->user_tid)
    > + put_user(current->pid, current->user_tid);
    >
    > this enables writing the TID even if CLONE_CHILD_SETTID isn't set. The
    > question is: how to access the clone flag information in the child?

    The alternate approach is to just say that using CLEARTID without SETTID
    is a bug. I think that's the right approach.

    Linus

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

    \
     
     \ /
      Last update: 2005-03-22 13:31    [W:0.029 / U:245.696 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site