[lkml]   [2001]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] 2.4.9 Make thread group id visible in /proc/<pid>/status
Date (Miquel van Smoorenburg) writes:

> Switching pid and tgid is something that the LinuxThreads library
> should probably do, but not the kernel. IMHO.

Not possible until the signal handling in the kernel is thread group
aware. Grab Linus' patch from ten months os so ago, fix it, and get
it into the kernel. Then we can rewrite the signal handling and make
getpid behave correctly.

Having said this, since this is a known deficiency no program should
use getpid for some critical unless it's absolutely necessary.

---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at `------------------------
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 12:57    [W:0.080 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site