Re: LWLock/ShmemIndex startup question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: LWLock/ShmemIndex startup question
Дата
Msg-id 7926.1073969200@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: LWLock/ShmemIndex startup question  (Claudio Natoli <claudio.natoli@memetrics.com>)
Список pgsql-hackers
Claudio Natoli <claudio.natoli@memetrics.com> writes:
>> The correct solution to that seems to lie elsewhere, ie, not use
>> semaphores for spinlocks.

> Just working with what we've already got. There seems to be very usable code
> in src/backend/port/win32/sema.c, which gets invoked as Win32 does not have
> spin-locks, but unfortunately relies on ShmemInitStruct.

Win32 certainly has spinlocks; it does not run on any hardware for which
we don't have spinlock assembler.  For that matter, doesn't it have
POSIX-compatible semaphores?  I'm not sure there's any need for
src/backend/port/win32/sema.c at all.
        regards, tom lane


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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Postgres + Xapian (was Re: fulltext searching via a
Следующее
От: Claudio Natoli
Дата:
Сообщение: Re: LWLock/ShmemIndex startup question