In article <26210000.998324773@baldur>,
Dave McCracken <email@example.com> wrote:
>--On Monday, August 20, 2001 17:19:13 +0100 Alan Cox
>> I didnt think anyone was using the broken tgid stuff ?
>I was under the impression that the current LinuxThread library does use
>CLONE_THREAD, and I know of at least one project under way that's also
>using it (the NGPT pthread library). The getpid() system call already
>returns tgid instead of pid. I'm also looking into what's involved in
>making tgid more robust.
Hmm, I've always been a bit curious about this .. I don't think getpid()
should return tgid instead of pid. It looks broken to me. Thread groups
are a good idea, but they should act more like process groups do.
Switching pid and tgid is something that the LinuxThreads library
should probably do, but not the kernel. IMHO.
If one really wants CLONE_PID to work, fix CLONE_PID.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:36 EST