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

From Magnus Hagander
Subject Re: VC2005 build and pthreads
Date
Msg-id 45BA6E3C.4000407@hagander.net
Whole thread Raw
In response to Re: VC2005 build and pthreads  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: VC2005 build and pthreads  (Joachim Wieland <joe@mcknight.de>)
List pgsql-hackers
Martijn van Oosterhout wrote:
> On Fri, Jan 26, 2007 at 09:34:10PM +0100, Gevik Babakhani wrote:
>> Folks,
>>
>> I would like to build pg on VC2005. How do I use pthreads that is
>> mentioned in the README file. Do I need the DLL? Sources? LIB?
>> Where do I install or copy them..
> 
> Err, pthreads is a threads library for Unix, I don't think Windows has
> that, nor can I think of a situation where you'd need to worry about
> threads anyway?

There is a pthreads for win32 as well.
However, you don't need it to build, unless you build ecpg. I forgot to
update the README when I put that patch in .-)

If you want it, it's on ftp://sources.redhat.com/pub/pthreads-win32.
IIRC, that's actually mentioned in the README file. You need the lib and
headers.

//Magnus


pgsql-hackers by date:

Previous
From: Jim Nasby
Date:
Subject: Re: [PERFORM] how to plan for vacuum?
Next
From: Jim Nasby
Date:
Subject: Re: No ~ operator for box, point