lkml.org 
[lkml]   [1999]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: linux-kernel-digest V1 #4149
In <Pine.LNX.3.96.990716090604.1928B-100000@walker1-46.reshall.ou.edu> cd_smith@ou.edu (cd_smith@ou.edu) wrote:
> On Fri, 16 Jul 1999 yodaiken@chelm.cs.nmt.edu wrote:
>> Why ? Threads are cheap. I thought that was the point.

> Yes, threads are cheap, but you simply won't be able to get the pid of
> "the process" to be anything other than the main thread... and the main
> thread is doing actual work.

In fact you want sometimes to get the pid for not the main thread. Of course
you'll need some info about process internals for that info to be usefull but
sometimes it's REALLY usefull. And ability to send signal in ONE thread is
usefull as well. And if you do not want to see all this stuff modification to
ps can solve this :-)) So it's not a point...





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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