Re: psycopg2 hang with multithread frequent queries

Поиск
Список
Период
Сортировка
От P. Christeas
Тема Re: psycopg2 hang with multithread frequent queries
Дата
Msg-id 201209180239.34310.xrg@linux.gr
обсуждение исходный текст
Ответ на Re: psycopg2 hang with multithread frequent queries  (David Roid <dataroid@gmail.com>)
Ответы Re: psycopg2 hang with multithread frequent queries  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Список psycopg
On Tuesday 18 September 2012, David Roid wrote:
> Hi Daniele, Federico,
>
> Just want to know, if I keep signal handler but switch from thread to
> subprocess, i.e. put the signal handler code with database queries into
> another process, is that safe?
>

IMHO, doing anything more than setting some "flag" variables and waking up
regular threads is bad practice for a signal handler..


--
Say NO to spam and viruses. Stop using Microsoft Windows!


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

Предыдущее
От: David Roid
Дата:
Сообщение: Re: psycopg2 hang with multithread frequent queries
Следующее
От: Daniele Varrazzo
Дата:
Сообщение: Re: psycopg2 hang with multithread frequent queries