[Twisted-Python] Updated defer.html
Glyph Lefkowitz
glyph at twistedmatrix.com
Mon Mar 10 17:18:45 EST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
First, I'd like to make it clear that I completely agree with Itamar
and Andrew... I had a message composed on the plane that said almost
exactly what they said in the last few exchanges :).
Thanks for looking at this documentation from a new-user perspective,
Clark.
On Monday, March 10, 2003, at 11:34 AM, Clark C. Evans wrote:
> BTW, is there anyway to ask the reactor to run it's current 'queue'
> and then _stop_ when it's idle. in other words, I'd like
> something like:
>
> reactor.run(daemon=0) # only runs currently queued stuff
If the OS would do something sensible like give us a queue of events to
run, we could do that. However, the reactor already goes through a few
contortions to create the illusion that something like that is
happening in the background; it is difficult to deterministically say
what the "current queue" is, especially given the surprising behavior
of certain modules like HTTP, which register infinitely recurring
timers.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)
iD8DBQE+bQ9JvVGR4uSOE2wRAtiyAKCuwlo4Zrkm3WFIjm8tzNuNq3r4GQCeOQI/
kuFPjroIKn0NoNlGFMov5g4=
=5LNV
-----END PGP SIGNATURE-----
More information about the Twisted-Python
mailing list