lkml.org 
[lkml]   [1996]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: proc fs and shared pids
On Wed, 31 Jul 1996, Linus Torvalds wrote:

> On Mon, 29 Jul 1996, Michiel Boland wrote:
> >
> > How is the proc FS going to handle tasks that share the same PID?
>
> Badly.
>
> Linus
>
> (Seriously, the CLONE_PID option needs to be cleaned up a bit, and I
> suspect I'll make a 16-bit "thread ID" in the high bits of the pid or
> something like that)
>
Hmm, we could have something like PID:TID, where TID is 0 for all "normal"
processes, and for the first thread (hmm, procfs could omit it for TID=0).
It'll also assumed to be 0 if it's not given in a syscall (or if done
right, it'll be implied as 0 from what you say at the end of your mail).

Bryn
--
PGP key pass phrase forgotten, \ Overload -- core meltdown sequence
again :( | initiated.
/ This space is intentionally left
| blank, apart from this text ;-)
\____________________________________



\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.083 / U:1.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site