The way I do this is I isolate all the COM stuff in a separate thread
from thread that runs my reactor.
This thread starts by calling:
pythoncom.CoInitializeEx(pythoncom.COINIT_APARTMENTTHREADED)
it then creates the COM object and runs an event loop something like this:
while keepRunnin
On Wed, Jun 30, 2010 at 8:42 PM, wrote:
> On 02:41 pm, petshm...@googlemail.com wrote:
>>Hello,
>>
>>I'm trying to process results from several Deferreds (d1, d2) with
>>DeferredList, merging it into one list and sending back to client.
>
> You might like twisted.internet.defer.gatherResults.
>>
On 02:41 pm, petshm...@googlemail.com wrote:
>Hello,
>
>I'm trying to process results from several Deferreds (d1, d2) with
>DeferredList, merging it into one list and sending back to client.
You might like twisted.internet.defer.gatherResults.
>
>While merging works, the client has no results. Wha
On Tue, Jun 29, 2010 at 11:31 PM, Steve Castellotti wrote:
> On Tue, 2010-06-29 at 23:04 -0700, Glenn Tarbox, PhD wrote:
>
> Any of the code that was developed while the reactor was in Twisted
> itself is MIT licensed. Perhaps that means you only need to track down
> people who contributed afte
Hello,
I'm trying to process results from several Deferreds (d1, d2) with
DeferredList, merging it into one list and sending back to client.
While merging works, the client has no results. What is the way to do
tasks (db queries in my case) in parallel and then merge results?
BTW, are nested runI