Re: [Twisted-Python] deferToThread and reactor loop

2012-11-02 Thread Tobias Oberstein
Hi Jean-Paul, > >** > >Am I correct that "deferToThread" does not immediately forward the call > >to a background thread, but only the next time the reactor loop runs? > >** > However, I can direct you to the implementation of > deferToThread: > > http://twistedmatrix.com

Re: [Twisted-Python] deferToThread and reactor loop

2012-11-01 Thread exarkun
On 29 Oct, 05:58 pm, tobias.oberst...@tavendo.de wrote: >Hi, > >I've got a question regarding > >deferToThread / runWithConnection > >I have a network server that accepts RPCs and forwards those to a >relational database calling stored procedures. > >The call of the stored procedures is happening

[Twisted-Python] deferToThread and reactor loop

2012-10-29 Thread Tobias Oberstein
Hi, I've got a question regarding deferToThread / runWithConnection I have a network server that accepts RPCs and forwards those to a relational database calling stored procedures. The call of the stored procedures is happening via "runWithConnection" .. that is on a background thread pool (s