On Thursday 04 May 2006 11:58, Daniel O'Connor wrote: > It would be nice if you could do a readv() and then > poll/kqueue/select/signal to see when an iovec has been filled, however I > suspect that would require severe modification of the kernel internals.
Ah now I think about it, this is called "aio_read" :) I don't know how widely supported it is - in FreeBSD it's optional (via a kernel option or KLD). It does allow you to enqueue read requests and then later check if they have been completed. IMO this is the best match for the USB IO model, but my USB fu is fairly weak. (And it's not much use if it isn't widely supported..) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
pgpO49GUlJZD6.pgp
Description: PGP signature
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio