thread safety tests

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема thread safety tests
Дата
Msg-id 40C70CDE.8010109@Yahoo.com
обсуждение исходный текст
Ответы Re: thread safety tests  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
I am wondering why thread_test.c is checking for mktemp()? That function 
is nowhere used in the libpq.

Also, I would suggest that we allow to build the libpq with thread 
specific compiler options, even if it is not entirely thread safe. It 
would require that a really multithreaded application has to have 
mutexes around certain operations, but being entirely unable to 
configure in a way that adds thread compile options to the CFLAGS makes 
libpq completely useless for multithreaded programs on some platforms 
(for example Solaris).


Jan

-- 
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: bug in 7.4 SET WITHOUT OIDs
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Improving postgresql.conf