Re: [HACKERS] [PATCHES] fork/exec patch

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, pgsql-hackers-win32 <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: [HACKERS] [PATCHES] fork/exec patch
Date: 2003-12-15 19:44:09
Message-ID: 200312151944.hBFJi9b00923@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-hackers-win32 pgsql-patches

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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-12-15 20:14:23 Re: Locale-based identifier conversion and Turkish
Previous Message Devrim GUNDUZ 2003-12-15 18:39:05 Locale-based identifier conversion and Turkish

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Andrew Dunstan 2003-12-15 21:12:13 Re: [HACKERS] [PATCHES] fork/exec patch
Previous Message Andrew Dunstan 2003-12-15 18:23:14 Re: [HACKERS] [PATCHES] fork/exec patch

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2003-12-15 21:12:13 Re: [HACKERS] [PATCHES] fork/exec patch
Previous Message Andrew Dunstan 2003-12-15 18:23:14 Re: [HACKERS] [PATCHES] fork/exec patch