On 06/04/2010 04:55 PM, Corentin Chary wrote:
Because it's not in a loop ? Like I said in the cover-letter (but this should probably be in a comment here) you can't use multiple worker on a single queue because of zlib streams. But if the issue is more a style issue than the actual implementation, then I can use a loop and an exit flag.
Yes, it's both a style issue and a future-proofing issue. I think it's better to be boring when it comes to locking. :-)
(The cover letter hasn't arrived yet, so I haven't read it). Paolo