[Zope-Coders] Signal forwarding

Toby Dickenson tdickenson@geminidataloggers.com
Thu, 10 Oct 2002 17:22:24 +0100


On Thursday 10 Oct 2002 2:54 pm, Chris McDonough wrote:
> On Thu, 2002-10-10 at 07:40, Guido van Rossum wrote:
> > Chris, please stop trying to convince yourself that complex signal
> > handlers are okay.  It's already pretty much impossible to prove that
> > any multi-threaded application of any complexity is written correctly=
=2E
> > Add signals into the mix, and it's hopeless.
>
> FWIW, I just want to make sure that I don't need to remove the current
> shutdown signal hander for 2.6.
>
> I definitely see that the current pack handler needs to go.  But
> hopeless or not, the shutdown handler currently works.  I can see that
> it might be disastrous under ZEO as all work happens in the main thread=
,
> but under Zope it seems hamrless.

I will commit a draft implementation of the clean shutdown proposal to a=20
branch later today. Ordinarily I wouldnt advocate including it in 2.6, bu=
t=20
you might decide polishing it would be better than leaving the current=20
shutdown/restart signal handlers intact.