Re: VC2005 build and pthreads

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, Joachim Wieland <joe(at)mcknight(dot)de>, Gevik Babakhani <pgdev(at)xs4all(dot)nl>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: VC2005 build and pthreads
Date: 2007-02-05 14:21:11
Message-ID: 200702051421.l15ELBv20195@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2007-02-05 14:42:52 Re: [HACKERS] \copy (query) delimiter syntax error
Previous Message Tom Lane 2007-02-05 14:19:56 Re: [PATCHES] Fix "database is ready" race condition