| От | Tom Lane |
|---|---|
| Тема | Re: pgsql: Introduce WaitEventSet API. |
| Дата | |
| Msg-id | 29187.1458587962@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | pgsql: Introduce WaitEventSet API. (Andres Freund <andres@anarazel.de>) |
| Список | pgsql-committers |
Andres Freund <andres@anarazel.de> writes:
> Introduce WaitEventSet API.
Buildfarm member gaur has a quibble with this patch:
latch.c:1095: warning: `WaitEventSetWaitBlock' declared inline after being called
Please rearrange the file so that the inline function definitions appear
first. Also, why is it that only three of the four variants are marked
"inline"?
Actually ... given that it's static and called in exactly one place,
I would think that any compiler capable of inlining it would do so
whether asked to or not. So another solution is just to get rid
of all the "inline" specifiers and let the compiler do its job.
regards, tom lane
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера