[Twisted-Python] Lots and lots and lots and lots... of deferreds

Steve Steiner (listsin) listsin at integrateddevcorp.com
Tue Oct 6 21:13:00 MDT 2009


On Oct 6, 2009, at 11:00 PM, Matt Perry wrote:

> One thing of note is that you say you have concurrency issues  
> handled -- but with asynchronous I/O, there are no concurrency  
> issues, since there's no concurrency (at least, not at application  
> level).  This is confusing at first but it's important to understand.

The concurrency to which I was referring was having multiple deferreds  
adding to the "getlist" semi-simultaneously.

They have to obtain a lock on the "getlist" before they can add new  
things to "get", then they release it.

Thanks,

S





More information about the Twisted-Python mailing list