Re: Using Threads? - Mailing list pgsql-hackers

From Bruce Guenter
Subject Re: Using Threads?
Date
Msg-id 20001204142810.A30690@em.ca
Whole thread Raw
In response to Using Threads?  ("Junfeng Zhang" <junfengz@cae.wisc.edu>)
Responses Re: Using Threads?
Re: Using Threads?
List pgsql-hackers
On Mon, Nov 27, 2000 at 11:42:24PM -0600, Junfeng Zhang wrote:
> I am new to postgreSQL. When I read the documents, I find out the Postmaster
> daemon actual spawns a new backend server process to serve a new client
> request. Why not use threads instead? Is that just for a historical reason,
> or some performance/implementation concern?

Once all the questions regarding "why not" have been answered, it would
be good to also ask "why use threads?"  Do they simplify the code?  Do
they offer significant performance or efficiency gains?  What do they
give, other than being buzzword compliant?
--
Bruce Guenter <bruceg@em.ca>                       http://em.ca/~bruceg/

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Using Threads?
Next
From: Oleg Bartunov
Date:
Subject: Re: broken locale in 7.0.2 without multibyte support (FreeBSD 4.1-RELEASE) ?