New in CVS: a small fix to the threading stuff

"Bauer, Georg" <[email protected]> Fri, 6 Feb 2004 15:08:29 +0100
Newsgroups gmane.comp.pythin.pyds.devel
Message-ID <[email protected]>
Hi!

The new threading stuff had an annoying little bug that produced longer
intervals of inactivity sometimes. This had to do with wrong usage of Medusa
and threading on my side. The threads did their output themselves - this
produced a problem, as the select() call in the asyncore.loop() had to
timeout to notice this. This produced longer pauses in interaction. Now I
use the same select_trigger mechanism as I use with the Toolserver (a small
SOAP server framework I just released) that uses a pseudo file dispatcher to
trigger the select when some output needs to be pushed to the outside.
Additionally now all input/output is done by the main thread, again, so all
input/output benefits from medusas io-dispatching.

bye, Georg