Re: [PATCHES] fork/exec patch

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [PATCHES] fork/exec patch
Дата
Msg-id 200312151944.hBFJi9b00923@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [PATCHES] fork/exec patch  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: [PATCHES] fork/exec patch  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan wrote:
> Bruce Momjian wrote:
>
> >Andrew Dunstan wrote:
> >
> >
> >> Now for the fun
> >>part (signals).
> >>
> >>
> >
> >Actually, no.  I thought fork/exec would be a real mess (as did Tom),
> >but Claudio has done an excellent job of producing a minimal patch.  The
> >work isn't done yet, but this small patch has taken us much closer, so I
> >assume signals will be even easier.
> >
>
>
>
> Well, it's speculation on both our parts :-). ISTM we'll need an
> explicit event loop to check the shmem (or whatever we use to simulate
> signals) every so often - maybe that will be easy, I don't know - I'm
> interested to see what turns up. (Of course, if we were threaded we'd
> just need a thread to watch for the event ...)

Have you looked at the CONNX signal code on the Win32 page:

    http://momjian.postgresql.org/main/writings/pgsql/win32.html

It uses shared memory and events.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Devrim GUNDUZ
Дата:
Сообщение: Locale-based identifier conversion and Turkish
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Locale-based identifier conversion and Turkish