Re: threads stuff/UnixWare

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: Zeugswetter Andreas SB SD <ZeugswetterA(at)spardat(dot)at>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: threads stuff/UnixWare
Date: 2004-05-13 08:56:13
Message-ID: 6EB127522DBEBD10107C44AB@lerlaptop.lerctr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

--On Thursday, May 13, 2004 09:54:02 +0200 Zeugswetter Andreas SB SD
<ZeugswetterA(at)spardat(dot)at> wrote:

>
>> I know, this sucks, but, I don't see any other way, other than linking
>> *ALL* libpq-using programs (including initdb and friends) with -K
> pthread.
>
> How about making a libpq.so (without pthread) and a thread safe
> libpq_r.so ?
That's against the way this platform does things. I.E. the only
library is libc. All the other system supplied libs do the right thing
in the presence or absence of libthread in the image.

I did get a note from my SCO contacts that they are looking into how
to make it easier for stuff to be threads ready, but I don't expect
that to be ready for 7.5 release.

The -Kpthread on all libpq using programs is the easiest way FOR NOW.

Thanks,
LER

>
> Andreas

--
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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chris Bowlby 2004-05-13 12:11:19 dead index nodes...
Previous Message Ken Ashcraft 2004-05-13 08:46:27 Re: Probably security hole in postgresql-7.4.1