Re: Add thread.c and linkage - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Add thread.c and linkage
Date
Msg-id 200306141745.h5EHjuU06778@candle.pha.pa.us
Whole thread Raw
In response to Re: Add thread.c and linkage  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Add thread.c and linkage  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane wrote:
> It seems really ugly to be putting a big case statement on the OS type
> into configure.  Can't you put those values into the per-platform
> template files, instead?

I hadn't thought of that.  We can do that.  However, seems we have to
have a test in there anyway to know whether we can do threads at all, or
do we make a new variable and set it to true only in the templates that
support it?

--
  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, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Add thread.c and linkage
Next
From: Tom Lane
Date:
Subject: Re: Add thread.c and linkage