Skip site navigation (1) Skip section navigation (2)

Re: PthreadGC2 of MinGW is not linked.

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Hiroshi Saito <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: PthreadGC2 of MinGW is not linked.
Date: 2007-04-03 09:08:14
Message-ID: 20070403090814.GC8638@svr2.hagander.net (view raw or flat)
Thread:
Lists: 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


In response to

Responses

pgsql-hackers by date

Next:From: Hiroshi SaitoDate: 2007-04-03 09:16:26
Subject: Re: PthreadGC2 of MinGW is not linked.
Previous:From: Hiroshi SaitoDate: 2007-04-03 09:06:16
Subject: PthreadGC2 of MinGW is not linked.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group