Re: libpq_r

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: libpq_r
Дата
Msg-id 18502.1059055793@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: libpq_r  (Lee Kindness <lkindness@csl.co.uk>)
Ответы Re: libpq_r  (Lee Kindness <lkindness@csl.co.uk>)
Re: libpq_r  (Lee Kindness <lkindness@csl.co.uk>)
Список pgsql-hackers
Lee Kindness <lkindness@csl.co.uk> writes:
> Bruce Momjian writes:
>>> My guess is that if the OS has separate threaded libs, we have to mimic
>>> that stuff.

> But there are NO thread primitives/calls in libpq 

That's not the point.  The point is stuff that isn't necessarily visible
in the source code --- such as what method it uses to get at "errno",
whether it's linked to thread-safe versions of malloc and other libc
routines, etc.

If the OS supplies both libc and libc_r, it is unlikely to be a good
idea to link a threaded libpq with libc, or a non-threaded libpq with
libc_r.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: libpq_r
Следующее
От: "Francisco Figueiredo Jr."
Дата:
Сообщение: Re: Why select * from function doesn't work when function