On Wed, Jun 23, 2010 at 8:11 PM, Uwe Bonnes <[email protected]> wrote: >>>>>> "Emmanuel" == Emmanuel Blot <[email protected]> writes: > > >> What about always enabling the async mode in libftdi 1.x and remove > >> the complete #ifdef stuff? > > Emmanuel> AFAIU, this mode is only supported on Linux, isn't it? What > Emmanuel> about Mac OS X and Windows hosts? If the async mode is not > Emmanuel> supported on these hosts, you still some kind of #ifdef, > Emmanuel> although it can be defined from the actual platform capability > Emmanuel> rather being defined as a build option. I agree with you, it > Emmanuel> would be definitely better if this mode was always supported, > Emmanuel> as least on Linux hosts. > > To my knowledge, async mode is available on libusb1, as long as the platform > supports it, so it is no longer Linux specific. >
That is correct. The async mode is in the libusb-1.0 API. So Windows and Mac OS X support it. Actually FreeBSD's libusb-1.0 Wrapper also supports the async API. -- Xiaofan http://mcuee.blogspot.com -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to [email protected]
