|
From: | Paolo Bonzini |
Subject: | [Qemu-devel] Re: [PATCH v2 2/2] vnc: threaded VNC server |
Date: | Fri, 04 Jun 2010 17:11:14 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Thunderbird/3.0.4 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |