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 16:40:17 |
Message-ID: | 78740000.1060015217@lerlaptop-red.iadfw.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
--On Monday, August 04, 2003 12:30:32 -0400 Bruce Momjian
<pgman(at)candle(dot)pha(dot)pa(dot)us> 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.
LER
>
> -------------------------------------------------------------------------
> --
>
> Larry Rosenman wrote:
>>
>>
>> --On Monday, August 04, 2003 17:54:41 +0200 Peter Eisentraut
>> <peter_e(at)gmx(dot)net> wrote:
>>
>> > Bruce Momjian writes:
>> >
>> >> Peter Eisentraut wrote:
>> >> > Is it intended that libpq is always compiled with the so-called
>> >> > "thread-safe" compiler option, regardless of whether I used
>> >> > --enable-thread-thing?
>> >>
>> >> It certainly should not be doing that, but my OS has no thread flags,
>> >> so I am not seeing it here. What exactly do you see?
>> >
>> > It's using -D_REENTRANT etc. (linux template) when compiling libpq.
>> I think we WANT to do that for libpq so it can be used in a threaded
>> app, since there
>> is no libc_r on Linux to the best of my knowledge.
>>
>> I intend that to happen on UnixWare as well.
>>
>> LER
>>
>>
>>
>> --
>> 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
>>
--
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 | Josh Berkus | 2003-08-04 16:42:03 | Re: "truncate all"? |
Previous Message | Bruce Momjian | 2003-08-04 16:30:32 | Re: Thread-safe configuration option appears to misfunction |