Hey, On Sat, Jul 30, 2016 at 12:26:30AM +0200, Victor Toso wrote: > This patch avoids a race condition. The race happens when the flush > callback is in idle when we receive a completed transfer status for > the same file-transfer which will be marked as completed and removed > from FileTransferOperations hash table. Can you expand a bit on the race? Where is the "completed transfer status" that we receive coming from? From the agent? Or do you just mean that we have flushed the queue, so we get the expected "completed transfer" message from the agent, but the flush callback did not get a chance to run yet because it was scheduled to run in an idle while the "completed transfer" message is dealt with immediatly? Christophe
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel