Re: PthreadGC2 of MinGW is not linked. - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: PthreadGC2 of MinGW is not linked.
Date
Msg-id 20070403090814.GC8638@svr2.hagander.net
Whole thread Raw
In response to PthreadGC2 of MinGW is not linked.  ("Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>)
List pgsql-hackers
On Tue, Apr 03, 2007 at 06:06:16PM +0900, Hiroshi Saito wrote:
> Hi Magnus.
> 
> configure was changed the cvs head.
> Is this what you intended it?_?
> 
> I think necessary to recover it.
> 
> *** configure.orig      Tue Apr  3 17:51:06 2007
> --- configure   Tue Apr  3 17:52:21 2007
> ***************
> *** 16732,16739 ****
>  # For each platform, we need to know about any special compile and link
>  # libraries, and whether the normal C function names are thread-safe.
>  # See the comment at the top of src/port/thread.c for more information.
> ! # WIN32 doesn't need the pthread tests;  it always uses threads
> ! if test "$enable_thread_safety" = yes -a "$PORTNAME" != "win32"; then
>  
> 
> --- 16732,16738 ----
>  # For each platform, we need to know about any special compile and link
>  # libraries, and whether the normal C function names are thread-safe.
>  # See the comment at the top of src/port/thread.c for more information.
> ! if test "$enable_thread_safety" = yes; then
> 
> Am I misunderstanding it?

That is intended. With the changes that was put in to ecpg, pthreads is no
longer required. We use the native threading on Windows instead. 

Also, enable_thread_safety is now the default for windows :-)

//Magnus



pgsql-hackers by date:

Previous
From: "Hiroshi Saito"
Date:
Subject: PthreadGC2 of MinGW is not linked.
Next
From: "Hiroshi Saito"
Date:
Subject: Re: PthreadGC2 of MinGW is not linked.