Re: Back-patch use of unnamed POSIX semaphores for Linux?

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Back-patch use of unnamed POSIX semaphores for Linux?
Дата
Msg-id 20161207225121.ddnoo7bi6mw7yd3g@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Back-patch use of unnamed POSIX semaphores for Linux?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2016-12-06 23:54:43 -0500, Tom Lane wrote:
> You're attacking a straw man.  I didn't propose changing our behavior
> anywhere but Linux.  AFAIK, on that platform unnamed POSIX semaphores
> are futexes, which have been a stable feature since 2003 according to
> https://en.wikipedia.org/wiki/Futex#History.  Anybody who did need
> to compile PG for use with a pre-2.6 kernel could override the default,
> anyway.

Back then futexes weren't "robust" though (crash handling and such was
unusable). They only started to be reliable in the ~2007-2008 frame
IIRC.  That still should be ok though.

Regards,

Andres



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Back-patch use of unnamed POSIX semaphores for Linux?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump vs. TRANSFORMs