Re: libpq_r

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: libpq_r
Дата
Msg-id Pine.LNX.4.56.0307241600500.3595@krusty.credativ.de
обсуждение исходный текст
Ответ на libpq_r  (Lee Kindness <lkindness@csl.co.uk>)
Список pgsql-hackers
Lee Kindness writes:

> Guys, take a look at what was done in libpq to make it
> thread-safe... No locks! No overheaded - just using "proper" reentrant
> functions...

There is a difference between being reentrant and being thread-safe.
Making libpq reentrant is relatively easy if you use the right functions.
But we have no guarantee that it will be thread-safe by default, because
some platforms require special flags to make standard library functions
thread-safe.

-- 
Peter Eisentraut   peter_e@gmx.net


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

Предыдущее
От: "Shridhar Daithankar"
Дата:
Сообщение: Re:
Следующее
От: Tom Lane
Дата:
Сообщение: Re: libpq_r