Re: Threading in BGWorkers (!)

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Threading in BGWorkers (!)
Дата
Msg-id 20200730184410.rffbx73mtd3x6lfc@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Threading in BGWorkers (!)  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers
Hi,

On 2020-07-29 13:41:02 +1200, Thomas Munro wrote:
> One practical problem with this change is that some systems have a
> stub definition of pthread_sigmask() that does nothing, when you don't
> link against the threading library.  Realistically, most *useful*
> builds of PostgreSQL bring it in indirectly (via SSL, LDAP, blah
> blah), but it so happens that a bare bones build and make check on
> this here FreeBSD box hangs in CHECK DATABASE waiting for the
> checkpointer to signal it.  I can fix that by putting -lthr into
> LDFLAGS, so we'd probably have to figure out how to do that on our
> supported systems.

Couldn't this be driven by --disable-thread-safety?

Greetings,

Andres Freund



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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: HyperLogLog.c and pg_leftmost_one_pos32()
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Threading in BGWorkers (!)