Re: [HACKERS] PostgreSQL libraries - PThread Support, but not use...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] PostgreSQL libraries - PThread Support, but not use...
Дата
Msg-id 29593.1042124654@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] PostgreSQL libraries - PThread Support, but not use...  (Lee Kindness <lkindness@csl.co.uk>)
Ответы Re: [HACKERS] PostgreSQL libraries - PThread Support, but not use...  (Lee Kindness <lkindness@csl.co.uk>)
Список pgsql-patches
Lee Kindness <lkindness@csl.co.uk> writes:

> + #define _THREAD_SAFE
> + #define _REENTRANT
> + #define _POSIX_PTHREAD_SEMANTICS

What is this stuff, and why isn't it wrapped in any sort of
platform-specific test?  If it's needed, why is it in only one .c file?

Also, haven't you broken SOCK_STRERROR for the Windows case?

            regards, tom lane

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

Предыдущее
От: Lee Kindness
Дата:
Сообщение: Re: [HACKERS] PostgreSQL libraries - PThread Support, but not use...
Следующее
От: Lee Kindness
Дата:
Сообщение: Re: [HACKERS] PostgreSQL libraries - PThread Support, but not use...