Messages in this thread | | | Subject | Re: thread groups bug? | Date | Thu, 28 Feb 2002 15:36:27 +0000 | From | David Howells <> |
| |
Benjamin LaHaise <bcrl@redhat.com> wrote: > On Thu, Feb 28, 2002 at 02:52:36PM +0000, David Howells wrote: > > > > If the master thread of a thread group (PID==TGID) performs an execve() > > then it is possible to end up with two or more thread groups with the same > > TGID. > > How about: (3) make execve allocate a new thread group id?
It seems that the TGID must also be a valid PID so that signal handling will work correctly...
This could be solved by making PIDs independent of processes, but that's really not very nice.
David - 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/
| |