Re: Cleaning up threading code

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Cleaning up threading code
Дата
Msg-id 20230711224953.abfpupu3lrrgyiqw@awork3.anarazel.de
обсуждение исходный текст
Ответ на Re: Cleaning up threading code  (Thomas Munro <thomas.munro@gmail.com>)
Ответы Re: Cleaning up threading code  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers
On 2023-07-12 08:58:29 +1200, Thomas Munro wrote:
> On Mon, Jul 10, 2023 at 10:45 AM Thomas Munro <thomas.munro@gmail.com> wrote:
> > * defined ENABLE_THREAD_SAFETY 1 in c.h, for the benefit of extensions
> 
> I may lack imagination but I couldn't think of any use for that
> vestigial macro in backend/extension code, and client code doesn't see
> c.h and might not get the right answer anyway if it's dynamically
> linked which is the usual case.  I took it out for now.  Open to
> discussing further if someone can show what kinds of realistic
> external code would be affected.

WFM.



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

Предыдущее
От: Ranier Vilela
Дата:
Сообщение: Re: Avoid unused value (src/fe_utils/print.c)
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Support to define custom wait events for extensions