Re: [HACKERS] signal weirdness

Поиск
Список
Период
Сортировка
Искать
От
Peter Galbavy
Тема
Re: [HACKERS] signal weirdness
Дата
Msg-id
19990329121712.A11678@office.knowledge.com
Ответ на
signal weirdness (Peter Galbavy)
Список
Дерево обсуждения
signal weirdness Peter Galbavy <Peter.Galbavy@knowledge.com>
Re: [HACKERS] signal weirdness Peter Galbavy <Peter.Galbavy@knowledge.com>
Re: [HACKERS] signal weirdness Tom Lane <tgl@sss.pgh.pa.us>
On Mon, Mar 29, 1999 at 11:03:49AM +0100, Peter Galbavy wrote:
> Oh, the result - the regression tests hang waiting for the postgres
> process to receive the SIGQUIT to abort transaction that never
> comes.

My quick fix has been to replace the kill() with a direct call
to siglongjmp() - not sure if this is safe, but it works. I
am being a pragmatist today.

I will try to get more debugging done on the signal problem at
some stage, but I seem to have a "working" solution.

Is their any reason not to replace the kill() with a longjmp()
in the long run - no pun intended.

Regards,
-- 
Peter Galbavy
Knowledge Matters Ltd
http://www.knowledge.com /http://www.wonderland.org/ http://www.literature.org/

В списке pgsql-hackers по дате отправления
От: Chris Bitmead
Дата:
От: Oleg Bartunov
Дата:
FAQ