Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 1999 14:11:11 -0800
From:      "D.M.P." <dmp@aracnet.com>
To:        David Schwartz <davids@webmaster.com>
Cc:        Kris Kennaway <kris@hub.freebsd.org>, Jonathon McKitrick <jcm@dogma.freebsd-uk.eu.org>, freebsd-chat@FreeBSD.ORG
Subject:   Re: threads....
Message-ID:  <383084FF.606E228E@aracnet.com>
References:  <000301bf2ee5$2209cf80$021d85d1@youwant.to>

next in thread | previous in thread | raw e-mail | index | archive | help
David Schwartz wrote:
> > I am referring to the case in question: an ICQ client. ICQ is not a
> > high-performance server application, and does not require parallelism for
> > performance reasons.
> 
>         Agreed.

I'm by no stretch of the imagination familiar with how threading
and process scheduling (is that the right phrase?) works beyond a
basic definition, so please do excuse any blatant displays of
ignorance. :)

Do all threads within a program have the same PID (ps-wise), or would
they each have their own PID, or does it depend on how the program is
written?

What about in the case where you have multiple live chat and file
transfers going at once, where you have multiple seperate tasks, each
with their own TCP connection?  Does threading them help prevent one
task from preempting another, or would that only be the case where
each thread is it's own process with a unique PID?

-- 
[dmp@aracnet.com]                                     Matthew 7:7-8


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?383084FF.606E228E>