Re: Configure with thread sanitizer fails the thread test

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Configure with thread sanitizer fails the thread test
Дата
Msg-id 20150817173124.GW5232@alvherre.pgsql
обсуждение исходный текст
Ответы Re: Configure with thread sanitizer fails the thread test  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Ewan Higgs wrote:

> So I changed volatile to _Atomic and continued (patch is in
> thread_test_atomic.patch). I then ran it against sqlsmith. The good
> news: I didn't happen to find any problems in normal use. The bad
> news: I did find a lot of warnings about improper use of functions
> like malloc and free from signal handlers.

There's a reason why we don't offer a threaded server ...  The
postmaster process in particular runs in a rather unusual arrangement,
where most of the interesting stuff does happen in signal handlers.  I
doubt there's any chance that we would make it run in a threaded
environment.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: More WITH
Следующее
От: David Fetter
Дата:
Сообщение: Re: More WITH