Mailing Lists: Apple Mailing Lists

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

Closing an IOUSBInterface with outstanding I/O



Hello,

I was wondering what happens if you issue a Read on an interrupt IOUSBPipe,
which returns kIOReturnSuccess, then call Abort on the pipe and Close on the
IOUSBInterface before the callback for the Read has been called?  I seem to
get a kernel panic when this happens.  Does this count as outstanding I/O
and therefore you shouldn't call Close on the interface?  This sequence of
events occurs if I unplug my device without generating any input with it, so
the callback never gets called.

Thanks,
Jessica
_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.



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.