From: | Larry Rosenman <ler(at)lerctr(dot)org> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Thread-safe configuration option appears to |
Date: | 2003-08-04 17:13:10 |
Message-ID: | 109640000.1060017190@lerlaptop-red.iadfw.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
--On Monday, August 04, 2003 13:11:45 -0400 Bruce Momjian
<pgman(at)candle(dot)pha(dot)pa(dot)us> wrote:
> Larry Rosenman wrote:
>> >> > We decided to make separate thread/nonthread libraries if the
>> >> > threading requires any special flags --- we haven't done that yet,
>> >> > and only configure controls it.
>> >> That will be a POLA (principle of least astonishment) violation on
>> >> UnixWare.
>> >
>> > When we have the capability to do dual library builds, we might have a
>> > way to specify a threading flag that will apply to the main libpq and
>> > not create a libpq_r. If it is a good flag, can we use it in the
>> > template file for all compiling?
>> I **THINK** so. What I'm thinking of is -D_REENTRANT for UnixWare
>> especially for libpq.
>>
>> the --with-threads would cause ecpg to be compiled/linked as -lpthread
>> in addition to
>> -D_REENTRANT
>
> Nope, we are not going to link with -lpthread unless it is enabled in
> configure.
Right. but libpq should be built with -D_REENTRANT on UnixWare regardless
of the
--with-threads.
Read what I said above.
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
From | Date | Subject | |
---|---|---|---|
Next Message | Joe Conway | 2003-08-04 17:13:36 | Re: problem with RH7.3 Pg7.3.4 binaries |
Previous Message | Lamar Owen | 2003-08-04 17:13:00 | Re: problem with RH7.3 Pg7.3.4 binaries |