
Andrew Bennetts wrote:
On Fri, Mar 05, 2004 at 11:19:01AM -0500, Itamar Shtull-Trauring wrote:
class Lock: """A lock for event driven systems."""
I have very very similiar looking code on my harddisk... what inspired you to write this? :)
I have something vaguely similar too; a class that handled a 'pipeline' (?) of Deferreds and didn't allow more than N at a time. My purpose for it was doing several thousand DNS queries and I only wanted at most N outstanding requests at a time, so I wouldn't overload the servers. Ok, so it's not that similar, but it's something that would probably go in the same module ;-) -- Twisted | Christopher Armstrong: International Man of Twistery Radix | Release Manager, Twisted Project ---------+ http://radix.twistedmatrix.com/