Re:

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re:
Дата
Msg-id Pine.LNX.4.56.0307231613380.1649@krusty.credativ.de
обсуждение исходный текст
Ответ на Re:  ("Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>)
Список pgsql-hackers
Shridhar Daithankar writes:

> On linux and freeBSD, that is not an issue.

FreeBSD has a separate libc_r.  I don't think they would bother with that
if there was no significant difference.

> I would really like to know for what platforms, locking mutex while selecting
> from connection list or some such object, is going to be such a great
> performance hit.

The performance hit isn't in the mutexes or specifically here or there.
But when you go into thread-safe/reentrant land, wild and wonderful things
happen, different on each platform.  We could work out a specific solution
for each platform that fits well with the local custom and is most
convenient to users.  But that is not maintainable.  So we need to work
out some kind of generalization that works similarly on most platforms.
I'm still unsure what that should really be, but everything thread-safe by
default probably won't suffice.

-- 
Peter Eisentraut   peter_e@gmx.net


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

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: Re:
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Re: Criteria for contrib/ versus gborg?