[Prism54-devel] Re: RE : Re: USB & al

Feyd feyd at seznam.cz
Tue Feb 22 11:37:43 UTC 2005


On Mon, 21 Feb 2005 18:36:27 +0000
sebastien.b at swissinfo.org wrote:

> >I have been thinking about the prism54 userspace usb driver, so far I only
> >wrote an asynchronous usb api (the libusb is synchronous (and I didn't
>  know
> >that usbfs supports aio) and so it is not very well suited for this task
> >With libusb and polling it would not be probably very
> >usable, but the aio could work pretty well.
> 
> Aren't POSIX threads (libpthread) just fine ? They address both portability
> and synchronous IO problems.

Right, it wouln'd be as nice as a select loop, but it would more resemble
the way it is done in kernel, so it could be even better and backporting
of the results into kernel easier.

Feyd


More information about the Prism54-devel mailing list