Re: Killing clones

Linus Torvalds (torvalds@transmeta.com)
Thu, 14 Aug 1997 03:51:24 -0700 (PDT)


On Thu, 14 Aug 1997, Albert D. Cahalan wrote:
>
> To make threaded apps very compatible:
> getpid() could return just the bottom 16 bits to make userspace
> even more happy. Then a gettid() function gets the whole 32 bits.
> Normal kill() handles both just fine.

Works for me.

> Symmetry requires numbering unthreaded processes from 0x10000.
> They still show up with low numbers and can be killed with the
> low numbers.
>
> That gets rid of some special case code for thread #1.

Sure, I can live with this (in fact I think I prefer it to my original
setup).

Now, does anybody actually want to _implement_ this?

Linus