From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | James Mansion <james(at)mansionfamily(dot)plus(dot)com> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pgkill on win32 |
Date: | 2008-04-23 09:18:56 |
Message-ID: | 20080423111856.7ec9c567@mha-laptop |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
James Mansion wrote:
> Magnus Hagander wrote:
> > You interested in trying to code up a patch to verify that? ;)
> >
> >
> Practical reality says that I won't get to this before the next
> version of Windows is released.
> I don't want to promise something I can't deliver.
:-)
If you want to throw me some code-snippet-ideas off-list that's not
ready for an actual patch, be my guest - and maybe I can put something
together.
> >> If there were any desire to provide a MT-aware postmaster, the
> >> same technique of masking
> >> signals except on a signal thread might apply.
> >>
> >
> > Define MT-aware :-) It's certainly MT-aware in the fact that it's
> > already MT... But there is no interest in making the actual backends
> > launch as threads in the postmaster - at least not currently.
> >
> I seem to remember being slapped about for daring to suggest using a
> threaded embedded
> language even if only one thread calls into the core, on the ground
> that the signals might not
> go to the right thread. So I'm assuming that a thread-aware build
> would generally mask async
> signals and wait for them in a specific thread in sigwait, which
> would effectively match the
> Win32 model (for a threaded build).
That is something different than a threaded build, though ;-) You're
probably more likely to get that to happen - though maybe not by much...
//Magnus
From | Date | Subject | |
---|---|---|---|
Next Message | Zoltan Boszormenyi | 2008-04-23 09:42:50 | Re: [RFC] Localized literals |
Previous Message | Martijn van Oosterhout | 2008-04-23 08:46:45 | Re: [RFC] Localized literals |