Re: pgsql: Allow Pin/UnpinBuffer to operate in a lockfree manner.
В списке pgsql-committers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: pgsql: Allow Pin/UnpinBuffer to operate in a lockfree manner. |
| Дата | |
| Msg-id | 9194.1460908908@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | pgsql: Allow Pin/UnpinBuffer to operate in a lockfree manner. (Andres Freund <andres@anarazel.de>) |
| Ответы |
Re: pgsql: Allow Pin/UnpinBuffer to operate in a
lockfree manner.
Re: pgsql: Allow Pin/UnpinBuffer to operate in a lockfree manner. |
| Список | pgsql-committers |
Andres Freund <andres@anarazel.de> writes:
> Allow Pin/UnpinBuffer to operate in a lockfree manner.
Now that I've had some occasion to look around in bufmgr.c, I am very
unhappy that there are still boatloads of comments talking about a buffer
header's spinlock, when there is in fact no spinlock anymore. Please
expend some effort on making this less confusing for the next hacker.
Maybe make those comments talk about a "lock bit" instead?
regards, tom lane
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера