jarrod roberson wrote:


On 4/27/05, Jp Calderone <exarkun@divmod.com> wrote:


  For many projects, asynchronous disk file i/o isn't actually that important.  They either only do a little bit of it, or they can fragment it over multiple reactor iterations manually without too much effort. 


can you explain the "fragement it over multiple reactor itertations" please?

see if this thread is helpful:

http://twistedmatrix.com/pipermail/twisted-python/2005-March/009950.html

I'm using this technique which boils down to reactor.callLater(0, recursive_function, args)

I also tried reactor.iterate()

(http://twistedmatrix.com/documents/current/api/twisted.internet.interfaces.IReactorCore.html#iterate )

- although this prevented blocking for some reason it had some undesirable side effects with my app.

regards,

Eugene Coetzee
 
-- 
--
===============================================
Reedflute Software Solutions

Telephone           -> +27 18 293 3236
General information -> info@reedflute.com
Project information -> projects@reedflute.com
Web                 -> www.reedflute.com
===============================================