Re: threads stuff/UnixWare

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: threads stuff/UnixWare
Date: 2004-05-12 19:03:13
Message-ID: A43B651FBB982E53CD0F6672@lerlaptop.lerctr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

--On Wednesday, May 12, 2004 15:59:19 -0300 "Marc G. Fournier"
<scrappy(at)postgresql(dot)org> wrote:

> On Wed, 12 May 2004, Larry Rosenman wrote:
>
>> >> > Ummm, shouldn't that be added to the port specific Makefile?
>> >> See my reply to Tom. It forces ALL libpq using programs to be
>> >> linked with -Kpthread, which was deemed unacceptable.
>> >
>> > deemed unacceptable by whom? Sounds to me alot simpler of a solution
>> > then making wrappers for the pthread_* functions just to accommodate
>> > one OS ... I could see it if this was a wide-spread problem, but it
>> > doesn't appear to be ...
>> Bruce didn't want to muck ip all the .c programs in the distribution to
>> do that.
>
> I'm confused now ... what .c programs would have to be mucked up if you
> add -Kpthread to the Unixware specific Makefile?
initdb, et al.

See these comments in src/template/unixware:
# Disabled because flags are required for all apps using libpq.
# Waiting to see if other platforms need this too. 2004-03-22
THREAD_SUPPORT=yes
# verified UnixWare 7.1.4 2004-03-18
STRERROR_THREADSAFE=yes
GETPWUID_THREADSAFE=yes
GETHOSTBYNAME_THREADSAFE=yes
$

I turned it back on to see if the new stuff had fixed it.

>
> ----
> Marc G. Fournier Hub.Org Networking Services
> (http://www.hub.org) Email: scrappy(at)hub(dot)org Yahoo!: yscrappy
> ICQ: 7615664

--
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 Tom Lane 2004-05-12 19:39:54 Re: threads stuff/UnixWare
Previous Message Marc G. Fournier 2004-05-12 18:59:19 Re: threads stuff/UnixWare