[Libusbx-devel] [PATCH] usbi_handle_disconnect: Fix race condition leading to double completion

2013-05-07 Thread Chris Dickens
Hi, I had run into the same issue and agree with your findings 100%. I took a slightly different approach, and wanted to get feedback as well. --- io.c.orig 2013-02-27 14:33:56.0 -0800 +++ io.c 2013-05-07 14:07:58.022998738 -0700 @@ -1374,16 +1374,10 @@ goto out; } - r = add_to_flyin

Re: [Libusbx-devel] [PATCH] usbi_handle_disconnect: Fix race condition leading to double completion

2013-05-07 Thread Pete Batard
On 2013.05.03 20:29, Hans de Goede wrote: > Only the windows and win-ce backends care about the > flying transfers list at all, and then only in their handle_events handler. OK. I'll try to test this one on Windows, to find out if there's anything that could warrant caution with the proposed fix.