threads vs. asyncore Was: [ZODB-Dev] Thread safety

Thomas Guettler hv at tbz-pariv.de
Tue Oct 12 03:09:43 EDT 2004


Am Montag, 11. Oktober 2004 22:56 schrieb Jeremy Hylton:
> On Mon, 11 Oct 2004 16:48:01 -0400, Tim Peters <tim at zope.com> wrote:
> > Yes it will!  Collector 1350 is a good recent example of (what turned out
> > in part to be) a thread problem, which probably consumed a person-month
> > of debugging time in all (including the non-thread bits of it).  And I
> > spent much of this weekend tracking down & repairing what turned out to
> > be thread bugs in the Python core.  Using threads is plain perilous,
> > compared to not using threads.  That's not unique to ZODB or Zope,
> > though.
>
> At least using threads is better than using asycnore.

Hi Jeremy Hylton,

can you explain this? Why are threads better than asyncore?

 Thomas



More information about the ZODB-Dev mailing list