> wakes the driver, but that can be solved by the driver setting a flag > that indicates that the urb should be freed when the count reaches zero. > The actual freeing is done as the HCD drops its reference.
refcounting is based on the fact that the object is freed when the count hits zero. It doesn't matter who drops the last reference, at that point nobody is using it. It might even be that the HCD isnt the last to drop the reference because you are holding a reference to dump the URB for debugging later on. Alan _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
