Re: threads stuff/UnixWare - Mailing list pgsql-hackers

From Larry Rosenman
Subject Re: threads stuff/UnixWare
Date
Msg-id A43B651FBB982E53CD0F6672@lerlaptop.lerctr.org
Whole thread Raw
In response to Re: threads stuff/UnixWare  ("Marc G. Fournier" <scrappy@postgresql.org>)
Responses Re: threads stuff/UnixWare
List pgsql-hackers

--On Wednesday, May 12, 2004 15:59:19 -0300 "Marc G. Fournier"
<scrappy@postgresql.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@hub.org           Yahoo!: yscrappy
> ICQ: 7615664



--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

pgsql-hackers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: threads stuff/UnixWare
Next
From: Tom Lane
Date:
Subject: Re: threads stuff/UnixWare