[Zope] Auto restart (at Zope's own initiative !!!)

Keith J. Farmer kfarmer@thuban.org
Tue, 29 Jan 2002 13:11:50 -0800


Apartment vs Free?  I was finally coming across that in the search.  I
suspect what I need to enforce is a single-thread apartment.
Unfortunately, the examples I'm seeing are all ATL or VB.

(God, I hate C.. too bad's it's as fast as I'm going to get)

----------
Keith J. Farmer
kfarmer@thuban.org
http://www.thuban.org


-----Original Message-----
From: Brian Lloyd [mailto:brian@zope.com]
Sent: Tuesday, January 29, 2002 13:03

> Would that make a difference between dying when imported at the
> beginning of a script, and not dying when imported within a run()
> method?  Knowing C, I'd expect randomness, but this behavior is
> consistent.

Sure it could. If the dll you are calling maintains=20
per-thread data structures or uses API calls that are=20
sensitive to threading, you may well need to load and=20