Re: Condition variable live lock

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: Condition variable live lock
Дата
Msg-id CAEepm=2xt_M0PquwBKC6SPm0gpmCUajGsiQ7PLTBAbSuo4O34g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Condition variable live lock  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Condition variable live lock  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, Jan 5, 2018 at 7:42 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Indeed, it looks like no other caller is paying attention to the result.
> We could live with the uncertainty in the back branches, and redefine
> ConditionVariableSignal as returning void in master.

+1

Could we install the sentinel and pop the first entry at the same
time, so that we're not adding an extra spinlock acquire/release?

-- 
Thomas Munro
http://www.enterprisedb.com


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

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: Re: [HACKERS] [PATCH] Incremental sort
Следующее
От: "Tels"
Дата:
Сообщение: Re: [Patch] Make block and file size for WAL and relations definedat cluster creation