Re: --enable-thread-safety on Win32

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: --enable-thread-safety on Win32
Дата
Msg-id 23922.1122561876@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: --enable-thread-safety on Win32  ("Dave Page" <dpage@vale-housing.co.uk>)
Ответы Re: --enable-thread-safety on Win32  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
"Dave Page" <dpage@vale-housing.co.uk> writes:
> From: Bruce Momjian [mailto:pgman@candle.pha.pa.us] 
>> I would like to see how hard it would be to 
>> add #ifdefs to get the test program to run on Win32.

> I did manage to get it to compile (though not work fully just yet),
> however I had to use the full pthreads library rather than our minimal
> implementation. That's why I question whether we should go this way - an
> extra dependency (pthreads is not normally on a Windows box, even with
> Msys) to test an OS that we know 100% for sure is not going to vary in
> it's thread-safetyness(!) from system to system.

I agree --- that seems like useless make-work.  Just put a special case
for Windows into configure.in and be done with it.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: --enable-thread-safety on Win32
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: --enable-thread-safety on Win32