Re: [PATCH v3 06/13] Usbredir Channel: Change disconnect signature to reuse in async context

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 11, 2015 at 02:22:54PM +0200, Christophe Fergeau wrote:
> Hey,
> 
> Not clear at all why this is needed, even when looking at the code in
> its final state (after all patches are applied).

Ah, got it actually, it's because of
g_simple_async_result_run_in_thread(simple,
                                    spice_usbredir_channel_disconnect_device,
                                    G_PRIORITY_DEFAULT,
                                    cancellable);
in the next patch. I think I'd just introduce a wrapper function in the
next patch rather than making all direct _disconnect_device() callers
uglier.

Christohpe

Attachment: pgp8VwyEg3_kT.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]