Re: [PATCH] Provide system call to get task id

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 8 Oct 2001 17:05:48 +0100 (BST)


> This patch provides a new system call gettid() (get task id), which
> returns the true pid of the task. This is needed in some multi-threaded
> apps and libraries.

Really the fix is to back out the stupid getpid hack. The thread group
is known by user space and can be managed by user space
-
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/