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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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