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

From Bruce Momjian
Subject Re: threads stuff/UnixWare
Date
Msg-id 200405131404.i4DE45j12848@candle.pha.pa.us
Whole thread Raw
In response to Re: threads stuff/UnixWare  (Larry Rosenman <ler@lerctr.org>)
Responses Re: threads stuff/UnixWare  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Larry Rosenman wrote:
-- Start of PGP signed section.
> 
> 
> --On Thursday, May 13, 2004 09:18:21 -0400 Tom Lane <tgl@sss.pgh.pa.us> 
> wrote:
> 
> > Larry Rosenman <ler@lerctr.org> writes:
> >> 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.
> >
> > Hmm.  If there is work happening at the platform level to improve
> > matters, then I'd definitely vote for taking the simplest solution
> > (ie -Kpthread everywhere) for now.  We can always do all that other
> > work later if nothing gets fixed; but why invest a lot of work for
> > what might be only a short-term problem?
>
> [ added blank line here ] 
> 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.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Larry Rosenman
Date:
Subject: Re: threads stuff/UnixWare
Next
From: Tom Lane
Date:
Subject: Re: threads stuff/UnixWare