From: Jorge Nerin <comandante@zaralinux.com>
To: Xiong Zhao <xz@gatekeeper.ncic.ac.cn>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: how does linux support domino?
Date: Tue, 24 Apr 2001 17:01:19 +0200 [thread overview]
Message-ID: <3AE5953F.2090500@zaralinux.com> (raw)
In-Reply-To: <77457B80127E.AAA4AA2@gatekeeper.ncic.ac.cn>
Xiong Zhao wrote:
> hello.on linux we will see a new domino server process/thread is created for each
> client.how does linux do this?does it use pthread?using fork or clone or someway
> else?what's the common way of linux to support apps like lotus domino that will
> have lots of concurrent users which are served by seperate server process/thread?
> regards
>
> james
Well, in Linux there is no separate concept of threads, so each thread
is a separate process with it's own PID and the PPID of the main thread.
In fact pthread_create() sits just on top of clone().
The way each program handles multiple conections is up to the program,
for example apache 1.3 and below does a fork(), mozilla does a
pthread_create(), BOA does a select() in only one process, and apache
2.0 and up does both a fork() and pthread_create().
--
Jorge Nerin
<comandante@zaralinux.com>
prev parent reply other threads:[~2001-04-24 22:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-23 5:59 how does linux support domino? Xiong Zhao
2001-04-23 12:19 ` Erik Mouw
2001-04-24 15:01 ` Jorge Nerin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3AE5953F.2090500@zaralinux.com \
--to=comandante@zaralinux.com \
--cc=linux-kernel@vger.kernel.org \
--cc=xz@gatekeeper.ncic.ac.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox