[lkml]   [2002]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:31    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean