lkml.org 
[lkml]   [1997]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Killing clones


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


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