libpq thread safety

Поиск
Список
Период
Сортировка
От Mark Morgan Lloyd
Тема libpq thread safety
Дата
Msg-id kbi4r4$erv$1@pye-srv-01.telemetry.co.uk
обсуждение исходный текст
Ответы Re: libpq thread safety  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Do any special precautions need to be taken when PQNotifies is being
called, to make sure that nothing else is referencing the handle?

The sort of nightmare scenario I'm thinking about is when a background
thread is periodically pulling data from a table into a buffer, but a
foreground (GUI) timer is asynchronously polling for notifications.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: update table from a csv file
Следующее
От: Tom Lane
Дата:
Сообщение: Re: libpq thread safety