Re: Compiling libpq with VisualC

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: Compiling libpq with VisualC
Дата
Msg-id 40CA2BD0.3010301@pse-consulting.de
обсуждение исходный текст
Ответ на Re: Compiling libpq with VisualC  (Manfred Spraul <manfred@colorfullife.com>)
Ответы Re: Compiling libpq with VisualC  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Manfred Spraul wrote:

>
> Wrong. There are portable test-and-set functions in the Win32 SDK: for
> example InterlockedCompareExchange. They operate on ints and do not
> need initialization.

'k, missed that one. Lets use it.

>
> There is a third option: Add one C++ file and use the constructor to
> initialize the mutex. VisualC is always a C++ compiler, thus C++
> support shouldn't be an issue.

Our code is potentially not only VC.

Regards,
Andreas


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Compiling libpq with VisualC
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Compiling libpq with VisualC