Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: USB Overlapped IO general question



Yes, you can do several reads. The completion routines will be called in the order that they complete (which is the order that they were requested).

This is the best way to utilize all the bandwidth available on the USB bus.

David Ferguson
USB Software Team
Apple Computer

At 1:24 PM -0500 12/21/05, Ron Duritsch wrote:
We have written code for PCI and firewire that will issue several data read
requests at a time, not waiting to get a reply from the first read before we
request the second read. There are several reasons for this, some having to
do with how the camera itself operates it's FIFO.

So my questions is, is this achievable with user space USB 2.0 code on OS X?
I've seen some sample code that does an asynchronous read, then in it's
callback routine issues the next read. But can I issue several reads before
I receive the callback from the first read?

Ron Duritsch
Diagnostic Instruments, Inc.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden
References: 
 >USB Overlapped IO general question (From: Ron Duritsch <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.