Re: Thread configure flag

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Thread configure flag
Дата
Msg-id 14227.1055873699@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Thread configure flag  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Thread configure flag  ("Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>)
Список pgsql-patches
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane writes:
>> I have heard that the reentrant libc is significantly worse-performing
>> than the non-reentrant one on some platforms.  This is not real hard
>> to believe, since functions as common as malloc() will need locking
>> overhead if they think they might be in a multithreaded environment.

> Then maybe we should make a libpq and a libpq_r, etc.

That would be fine with me ... although it's only worth doing if the
platform has a libc and a libc_r.  Shall we use the existence of libc_r
to drive this choice?

            regards, tom lane

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

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: Re: Thread configure flag
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] CVS -Tip compile issue -- FreeBSD 4.8