* how does linux support domino?
@ 2001-04-23 5:59 Xiong Zhao
2001-04-23 12:19 ` Erik Mouw
2001-04-24 15:01 ` Jorge Nerin
0 siblings, 2 replies; 3+ messages in thread
From: Xiong Zhao @ 2001-04-23 5:59 UTC (permalink / raw)
To: majordomo linux kernel list
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: how does linux support domino?
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
1 sibling, 0 replies; 3+ messages in thread
From: Erik Mouw @ 2001-04-23 12:19 UTC (permalink / raw)
To: Xiong Zhao; +Cc: majordomo linux kernel list
On Mon, Apr 23, 2001 at 01:59:52PM +0800, 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?
pthreads are modeled on top of the clone() system call.
> 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?
Just go ahead and support it, I guess.
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: how does linux support domino?
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
1 sibling, 0 replies; 3+ messages in thread
From: Jorge Nerin @ 2001-04-24 15:01 UTC (permalink / raw)
To: Xiong Zhao; +Cc: Linux Kernel
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>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-04-24 22:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox