Re: Building Thread-Safe on OS X
От
Bruce Momjian
Тема
Re: Building Thread-Safe on OS X
Дата
Msg-id
200406042150.i54Lo5G11300@candle.pha.pa.us
Ответ на
Re: Building Thread-Safe on OS X (Keary Suska)
Список
Дерево обсуждения
Building Thread-Safe on OS X Keary Suska <hierophant@pcisys.net>
Re: Building Thread-Safe on OS X Bruce Momjian <pgman@candle.pha.pa.us>
Re: Building Thread-Safe on OS X Keary Suska <hierophant@pcisys.net>
Re: Building Thread-Safe on OS X Bruce Momjian <pgman@candle.pha.pa.us>
Keary Suska wrote:
> on 6/2/04 1:53 PM, pgman@candle.pha.pa.us purportedly said:
>
> > Keary Suska wrote:
> >> I followed the directions in the /src/tools/thread directory, ran the test
> >> program, which said everything was OK and recommended another setting, which
> >> I added to the template/reconfigured/recompiled. Both the test program and
> >> readme mentioned thread-specific compiler directives but didn't say which or
> >> what values, so I didn't add any.
> >>
> >> Can I assume that I have a thread-safe libpq, or is there something I am
> >> missing?
> >
> > Sorry, you need to add --enable-thread-safety to the configure run. In
> > 7.5, you still need the flag, but all the testing is done automatically.
>
> I did that--the only direction I didn't follow (because I wasn't sure what
> was needed) was the following:
> "add any THREAD_CPPFLAGS and THREAD_LIBS defines to your
> template/${port} file"
>
> Do you think I'm OK then?
If the test program ran OK with no flag, you should be OK.
--
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-general по дате отправления