Re: Thread configure flag - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Thread configure flag
Date
Msg-id 200306161420.h5GEKVh09727@candle.pha.pa.us
Whole thread Raw
In response to Re: Thread configure flag  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Thread configure flag
List pgsql-patches
Peter Eisentraut wrote:
> Bruce Momjian writes:
>
> > This applied patch adds --with-threads to configure.  This will soon be
> > hooked into libpq.  Doc additions made too.
>
> Is there a reason why this isn't the default?
>

If it is the default, libpq is going to use the libc_r library, at least
on some platforms, and that may not be desired.  Fortunately, the flag
has no effect on the backend code.

One funny thing is that on BSD/OS and NetBSD, because there are no
thread compile flags, function names, or libraries, libpq is the same
code with or without the flag.  ecpg, however, has thread calls, and is
effected on every platform.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Thread configure flag
Next
From: Tom Lane
Date:
Subject: Re: Thread configure flag