Re: VC2005 build and pthreads - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: VC2005 build and pthreads
Date
Msg-id 200702051421.l15ELBv20195@momjian.us
Whole thread Raw
In response to Re: VC2005 build and pthreads  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: VC2005 build and pthreads  (Douglas McNaught <doug@mcnaught.org>)
List pgsql-hackers
Martijn van Oosterhout wrote:
-- Start of PGP signed section.
> On Sun, Jan 28, 2007 at 02:05:41PM +0100, Magnus Hagander wrote:
> > Anyway. We hard-code thread-safety to on for Win32, because win32 is a
> > threaded platform in general - almost everything can be exposed to
> > threading even if they don't want it. For example a VB program that has
> > no threading at all can still run with multiple threads because of the
> > framework.
> 
> It'd be nice if we could do the same for some Unix platofrms like
> Linux. The C library uses threads internally, and there's no actual
> downside to enabling thread safety there, except removing a few failure
> modes.

I was not aware this was true on Linux.

--  Bruce Momjian   bruce@momjian.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCHES] Fix "database is ready" race condition
Next
From: Andrew Dunstan
Date:
Subject: Re: \copy (query) delimiter syntax error