LKML Archive on
help / color / mirror / Atom feed
From: Alan Cox <>
To: (Dave McCracken)
Cc: (Linus Torvalds), (Linux Kernel)
Subject: Re: [PATCH] Provide system call to get task id
Date: Mon, 8 Oct 2001 17:05:48 +0100 (BST)	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <71000000.1002555975@baldur> from "Dave McCracken" at Oct 08, 2001 10:46:15 AM

> 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

  parent reply	other threads:[~2001-10-08 16:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-08 15:46 Dave McCracken
2001-10-08 15:52 ` Christoph Hellwig
2001-10-08 16:07   ` Alan Cox
2001-10-08 16:05 ` Alan Cox [this message]
2001-10-08 17:44   ` Linus Torvalds
2001-10-08 17:52     ` Alan Cox
2001-10-08 18:17       ` Linus Torvalds
2001-10-08 22:15         ` Miquel van Smoorenburg
2001-10-08 21:53   ` David Woodhouse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \
    --subject='Re: [PATCH] Provide system call to get task id' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).