Re: Thread-safe configuration option appears to

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Thread-safe configuration option appears to
Дата
Msg-id 200308041719.h74HJvn26888@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Thread-safe configuration option appears to  (Larry Rosenman <ler@lerctr.org>)
Ответы Re: Thread-safe configuration option appears to  (Larry Rosenman <ler@lerctr.org>)
Список pgsql-hackers
Larry Rosenman wrote:
> 
> 
> --On Monday, August 04, 2003 13:11:45 -0400 Bruce Momjian 
> <pgman@candle.pha.pa.us> wrote:
> 
> > Larry Rosenman wrote:
> >> >> > We decided to make separate thread/nonthread libraries if the
> >> >> > threading requires any special flags --- we haven't done that yet,
> >> >> > and only configure controls it.
> >> >> That will be a POLA (principle of least astonishment) violation on
> >> >> UnixWare.
> >> >
> >> > When we have the capability to do dual library builds, we might have a
> >> > way to specify a threading flag that will apply to the main libpq and
> >> > not create a libpq_r.  If it is a good flag, can we use it in the
> >> > template file for all compiling?
> >> I **THINK** so.  What I'm thinking of is -D_REENTRANT for UnixWare
> >> especially for libpq.
> >>
> >> the --with-threads would cause ecpg to be compiled/linked as -lpthread
> >> in  addition to
> >> -D_REENTRANT
> >
> > Nope, we are not going to link with -lpthread unless it is enabled in
> > configure.
> Right.  but libpq should be built with -D_REENTRANT on UnixWare regardless 
> of the
> --with-threads.

Well, let's see what additional functionality we need.  I am not
feeling too friendly on SCO/Unixware right now to jump through hoops.

--  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 по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: problem with RH7.3 Pg7.3.4 binaries
Следующее
От: Larry Rosenman
Дата:
Сообщение: Re: Thread-safe configuration option appears to