Re: Crash in reads with short timeout - race.

Peter Dons Tychsen via Libusb-win32-devel <[email protected]> Fri, 13 Apr 2018 01:14:12 +0200
Newsgroups gmane.comp.lib.libusb.devel.windows
Organization DonTech ApS
Message-ID <[email protected]>
Hi Xiaofan,

> Thanks a lot for your detailed information. I will see if Travis
> still monitors
> this mailing list and can comment on this fix.

It would be great if Travis (or someone else) could verify and apply
the fix.

> The good thing is that it only touches the library (DLL) part and not
> the driver part (which requires digital signature).

Yup. Signing is a pain. Especially for people that do not have a valid
cert to sign with.

> I think CancellIOEx() is available since Vista. But it does not
> matter
> if you still need XP.

Yep, my bad. Only XP/2003 does not have it. Still cannot use it
however, for that reason.

Thanks,

/pedro

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot