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

From Tom Lane
Subject Re: threads stuff/UnixWare
Date
Msg-id 8596.1084458909@sss.pgh.pa.us
Whole thread Raw
In response to Re: threads stuff/UnixWare  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: threads stuff/UnixWare  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Larry Rosenman wrote:
>> I agree.  the only issue is how to set up our makefiles to only do the
>> -Kpthread/-pthreads(gcc) flags on the client code, and not do it for
>> the backend itself.

> I think mixing a pgport that has thread flags with a backend that does
> not is more risky than just compiling everything with the same thread
> flags.

Can we get this straight: is -Kpthread a compile flag or just a link flag?
If the latter then it should not be needed in building the libpgport files.
If the former then adding it to LDFLAGS is the wrong thing.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: threads stuff/UnixWare
Next
From: Bruce Momjian
Date:
Subject: Re: threads stuff/UnixWare