Re: GCC builtins for atomic-test-and-set, memory barries, and such
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: GCC builtins for atomic-test-and-set, memory barries, and such |
| Дата | |
| Msg-id | 27899.1190605333@sss.pgh.pa.us обсуждение |
| Ответ на | GCC builtins for atomic-test-and-set, memory barries, and such ("Florian G. Pflug" <fgp@phlo.org>) |
| Ответы |
Re: GCC builtins for atomic-test-and-set, memory barries, and such
|
| Список | pgsql-hackers |
"Florian G. Pflug" <fgp@phlo.org> writes:
> When reading Tom's comment about the bug in my "use latestCompletedXid
> to slightly speed up TransactionIdIsInProgress" patch, I remembered that
> I recently stumbled across GCC builtins for atomic test-and-test and
> read/write reordering barriers...
> Has anyone looked into those? It seems that those could be used to
> provide a fallback spinlock implementation - though maybe we already
> cover all interesting targets, and it's not worth the effort.
It doesn't seem very interesting given that (a) we already have working
code for this area, and (b) gcc is not our only target compiler.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера