Messages in this thread | | | Date | Mon, 18 Nov 2002 08:00:57 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: [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/
| |