Re: pgsql: Introduce WaitEventSet API.

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Clean up some Coverity complaints about commit 0bf3ae88af330496.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Allow the delay in psql's \watch command to be a fractional seco